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:
parent
029fc89e0e
commit
f3d74e13d7
1 changed files with 3 additions and 2 deletions
|
@ -155,9 +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
|
||||||
#sleep required on low spec like raspberryPi
|
#sleep required on low spec like raspberryPi
|
||||||
sleep 1s
|
sleep 5s
|
||||||
ynh_systemd_action -a stop
|
ynh_systemd_action -a stop
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue