From e481e03e0511787f297e10f85d6a54b3fedb5470 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Fri, 24 Apr 2020 20:16:59 +0200 Subject: [PATCH] Fix potential error on install --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index e0e519b..749c212 100644 --- a/scripts/install +++ b/scripts/install @@ -236,10 +236,14 @@ ynh_script_progression --message="Restarting Lutim..." --weight=6 # Wait for lutim to be fully started ynh_systemd_action --action=restart --line_match="Manager.*started" --log_path="/var/log/$app/production.log" --timeout="120" +ynh_systemd_action --action=stop # Set right permissions on new files created at first start chown -R $app: $final_path +# Wait for lutim to be fully started +ynh_systemd_action --action=restart --line_match="Manager.*started" --log_path="/var/log/$app/production.log" --timeout="120" + #================================================= # SEND A README FOR THE ADMIN #=================================================