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:
parent
3843833333
commit
daac049877
1 changed files with 3 additions and 3 deletions
|
@ -155,10 +155,10 @@ chown -R $app:$app /var/log/$app
|
||||||
|
|
||||||
ynh_print_info "Setting up database and settings"
|
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
|
#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
|
#systemctl start $app
|
||||||
#sleep required on low spec like raspberryPi
|
#sleep required on low spec like raspberryPi
|
||||||
sleep 5s
|
sleep 2s
|
||||||
ynh_systemd_action -a stop
|
ynh_systemd_action -a stop
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue