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

Fix systemd line_match

This commit is contained in:
Salamandar 2024-06-10 15:58:01 +02:00
parent 94760d0e92
commit f34e504d84
3 changed files with 3 additions and 3 deletions

View file

@ -45,7 +45,7 @@ ynh_add_config --template="../conf/lstu.conf.ldap" --destination="$install_dir/l
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -75,7 +75,7 @@ popd
ynh_script_progression --message="Starting a systemd service..." ynh_script_progression --message="Starting a systemd service..."
# Start a systemd service # Start a systemd service
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at"
#================================================= #=================================================
# END OF SCRIPT # END OF SCRIPT

View file

@ -56,7 +56,7 @@ yunohost service add $app --log="/var/log/$app.log" --log="/var/www/$app/log/pro
#================================================= #=================================================
ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1 ynh_script_progression --message="Reloading NGINX web server and $app's service..." --weight=1
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server available at" ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Web application available at"
ynh_systemd_action --service_name=nginx --action=reload ynh_systemd_action --service_name=nginx --action=reload