Fix install + CRON

This commit is contained in:
Yalh 2019-01-30 03:28:38 +01:00
parent 07d2fa1768
commit 1f2ed04a7c
2 changed files with 7 additions and 7 deletions

View File

@ -174,10 +174,10 @@ ynh_system_user_create $app
pushd $final_path
ynh_use_nodejs
npm install graphql@^0.13.1
npm install acorn@^6.0.0
npm install babel-core@>=6.0.20
npm install eslint@>=5.0.0
npm install "graphql@^0.13.1"
npm install "acorn@^6.0.0"
npm install "babel-core@>=6.0.20"
npm install "eslint@>=5.0.0"
npm install
npm audit fix
npm run build
@ -299,7 +299,7 @@ ynh_use_logrotate
#yunohost service add $app --log "/var/log/$app/$app.log"
# if using yunohost version 3.2 or more in the 'manifest.json', a description can be added
#yunohost service add $app --description "$app daemon for XXX" --log "/var/log/$app/$app.log"
yunohost service add $app --description "$app daemon for Wiki.js" --log "/var/log/$app/$app.log"
#=================================================
# SETUP SSOWAT
@ -315,5 +315,5 @@ fi
#=================================================
# RELOAD NGINX
#=================================================
systemctl start $app
systemctl reload nginx

View File

@ -105,7 +105,7 @@ systemctl enable $app.service
# ADVERTISE SERVICE IN ADMIN PANEL
#=================================================
#yunohost service add $app --log "/var/log/$app/$app.log"
yunohost service add $app --description "$app daemon for Wiki.js" --log "/var/log/$app/$app.log"
#=================================================
# RESTORE THE CRON FILE