1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calibreweb_ynh.git synced 2024-09-03 18:16:20 +02:00

test systemctl start instead of ynh_systemd_action

This commit is contained in:
Krakinou 2018-12-24 15:16:09 +01:00
parent 029fc89e0e
commit f3d74e13d7

View file

@ -155,9 +155,10 @@ chown -R $app:$app /var/log/$app
ynh_print_info "Setting up database and settings"
#we need to start and stop the service so that initial app.db file is created and that we can set default data
ynh_systemd_action -l "INFO in server: Starting Gevent server"
#ynh_systemd_action -l "INFO in server: Starting Gevent server"
systemctl start $app
#sleep required on low spec like raspberryPi
sleep 1s
sleep 5s
ynh_systemd_action -a stop