From daac04987768ca0c5004d78607959f5c020ddf10 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Thu, 27 Dec 2018 17:36:11 +0100 Subject: [PATCH] Restore ynh_systemd_action --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index 09d397f..d551182 100755 --- a/scripts/install +++ b/scripts/install @@ -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