1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00
This commit is contained in:
ericgaspar 2021-03-25 20:09:22 +01:00
parent 3fc9ade2d5
commit 92243052cc
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 3 deletions

View file

@ -8,9 +8,10 @@ Type=forking
User=__APP__ User=__APP__
Group=__APP__ Group=__APP__
WorkingDirectory=__FINALPATH__ WorkingDirectory=__FINALPATH__
PIDFile=/path/to/nodebb/pidfile #PIDFile=/path/to/nodebb/pidfile
Environment=NODE_ENV=production 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 Restart=always
[Install] [Install]

View file

@ -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_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=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 # STANDARD MODIFICATIONS