diff --git a/conf/systemd.service b/conf/systemd.service index 90ef4d6..f6a38cb 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,9 +8,10 @@ Type=forking User=__APP__ Group=__APP__ WorkingDirectory=__FINALPATH__ -PIDFile=/path/to/nodebb/pidfile +#PIDFile=/path/to/nodebb/pidfile Environment=NODE_ENV=production -ExecStart=__NODE__/node loader.js --no-daemon --no-silent +#ExecStart=__NODE__/node loader.js --no-daemon --no-silent +ExecStart=__YNH_NPM__ start Restart=always [Install] diff --git a/scripts/install b/scripts/install index 106965b..dbcd2ec 100644 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,7 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url ynh_script_progression --message="Storing installation settings..." --time --weight=1 ynh_app_setting_set --app=$app --key=domain --value=$domain -ynh_app_setting_set --app=$app --key=$secret--value="$secret" +ynh_app_setting_set --app=$app --key=$secret --value="$secret" #================================================= # STANDARD MODIFICATIONS