1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
ericgaspar 2021-06-29 23:06:48 +02:00
parent 1986ddeb00
commit e79e5fa87e
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 7 deletions

View file

@ -7,7 +7,7 @@ User=__APP__
WorkingDirectory=__FINALPATH__
Environment="PATH=__ENV_PATH__"
Environment="NODE_ENV=production"
ExecStart=__YNH_NODE__ __FINALPATH__main.js
ExecStart=__YNH_NODE__ __FINALPATH__/main.js
StandardOutput=syslog
StandardError=syslog

View file

@ -34,12 +34,6 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --time --weight=1
#
# N.B. : the followings setting migrations snippets are provided as *EXAMPLES*
# of what you may want to do in some cases (e.g. a setting was not defined on
# some legacy installs and you therefore want to initiaze stuff during upgrade)
#
# If db_name doesn't exist, create it
#if [ -z "$db_name" ]; then
# db_name=$(ynh_sanitize_dbid --db_name=$app)