1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00

Fix potential error on install

This commit is contained in:
Maniack Crudelis 2020-04-24 20:16:59 +02:00
parent 750ea40195
commit e481e03e05

View file

@ -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
#=================================================