1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webmin_ynh.git synced 2024-09-03 20:36:08 +02:00

adding Line Match

This commit is contained in:
yalh76 2020-09-04 02:05:13 +02:00
parent 0970327220
commit b7b2f2782b
4 changed files with 9 additions and 9 deletions

View file

@ -62,7 +62,7 @@ fi
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped LSB"
#=================================================
# MODIFY URL IN NGINX CONF
@ -101,7 +101,7 @@ fi
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB"
#=================================================
# RELOAD NGINX

View file

@ -101,7 +101,7 @@ ynh_store_file_checksum --file="/etc/webmin/miniserv.conf"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Webmin Daemon" --log "/var/log/$app/$app.log"
yunohost service add $app --description "Webmin Daemon"
#=================================================
# START SYSTEMD SERVICE
@ -109,7 +109,7 @@ yunohost service add $app --description "Webmin Daemon" --log "/var/log/$app/$ap
ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB"
#=================================================
# SETUP SSOWAT

View file

@ -75,14 +75,14 @@ ynh_restore_file --origin_path="/etc/webmin/miniserv.conf"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Webmin Daemon" --log "/var/log/$app/$app.log"
yunohost service add $app --description "Webmin Daemon"
#=================================================
# START SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB"
#=================================================
# GENERIC FINALIZATION

View file

@ -35,7 +35,7 @@ path_url=$(ynh_normalize_url_path --path_url=$path_url)
#=================================================
ynh_script_progression --message="Stopping a systemd service..."
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="stop" --line_match="Stopped LSB"
#=================================================
# NGINX CONFIGURATION
@ -76,14 +76,14 @@ ynh_store_file_checksum --file="/etc/webmin/miniserv.conf"
#=================================================
ynh_script_progression --message="Integrating service in YunoHost..."
yunohost service add $app --description "Webmin Daemon" --log "/var/log/$app/$app.log"
yunohost service add $app --description "Webmin Daemon"
#=================================================
# START SYSTEMD SERVICE
#=================================================
ynh_script_progression --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
ynh_systemd_action --service_name=$app --action="start" --line_match="Started LSB"
#=================================================
# SETUP SSOWAT