From f3d74e13d70fd0ef90dbcf6eaac4bc72d507cdb4 Mon Sep 17 00:00:00 2001 From: Krakinou Date: Mon, 24 Dec 2018 15:16:09 +0100 Subject: [PATCH] test systemctl start instead of ynh_systemd_action --- scripts/install | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 7554613..0faf33c 100755 --- a/scripts/install +++ b/scripts/install @@ -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