1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/linuxdash_ynh.git synced 2024-09-03 19:36:07 +02:00
This commit is contained in:
Éric Gaspar 2023-06-11 21:34:41 +02:00
parent ac243bfd99
commit 5585670ff6
3 changed files with 5 additions and 5 deletions

View file

@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Stopping a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
ynh_supervisor_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
# MODIFY URL IN NGINX CONF
@ -32,7 +32,7 @@ ynh_change_url_nginx_config
#=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
ynh_supervisor_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
#=================================================
# END OF SCRIPT

View file

@ -78,7 +78,7 @@ yunohost service add $app --description="Monitoring web dashboard" --log="/var/l
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_supervisor_action --service_name=$app --action="start" --log_path="systemd"
ynh_supervisor_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
#=================================================
# END OF SCRIPT

View file

@ -22,7 +22,7 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
@ -94,7 +94,7 @@ yunohost service add $app --description="Monitoring web dashboard" --log="/var/l
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_supervisor_action --service_name=$app --action="start" --log_path="systemd"
ynh_supervisor_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
#=================================================
# END OF SCRIPT