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

Restore ynh_systemd_action

This commit is contained in:
Krakinou 2018-12-27 17:36:11 +01:00
parent 3843833333
commit daac049877

View file

@ -155,10 +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"
systemctl start $app
ynh_systemd_action -l "INFO in server: Starting Gevent server"
#systemctl start $app
#sleep required on low spec like raspberryPi
sleep 5s
sleep 2s
ynh_systemd_action -a stop