diff --git a/scripts/backup b/scripts/backup index 9e738b6..e4cd62a 100644 --- a/scripts/backup +++ b/scripts/backup @@ -36,7 +36,7 @@ db_name=$(ynh_app_setting_get --app=$app --key=db_name) #================================================= # STOP SYSTEMD SERVICE #================================================= -ynh_print_info --message="Stopping a systemd service..." +ynh_print_info --message="Stopping $app service..." ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" @@ -73,7 +73,7 @@ ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= # START SYSTEMD SERVICE #================================================= -ynh_print_info --message="Starting a systemd service..." +ynh_print_info --message="Starting $app service..." ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Wekan, task board" sleep 30 diff --git a/scripts/change_url b/scripts/change_url index 7b4c464..1ebfc1d 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -54,7 +54,7 @@ fi #================================================= # STOP SYSTEMD SERVICE #================================================= -ynh_print_info --message="Stopping a systemd service..." +ynh_print_info --message="Stopping $app service..." ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" diff --git a/scripts/install b/scripts/install index 4e5a1c3..335f70b 100755 --- a/scripts/install +++ b/scripts/install @@ -167,7 +167,7 @@ yunohost service add $app #================================================= # START SYSTEMD SERVICE #================================================= -ynh_print_info --message="Starting a systemd service..." +ynh_print_info --message="Starting $app service..." # Start a systemd service ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Meteor APM: completed instrumenting the app" diff --git a/scripts/restore b/scripts/restore index 2f237fe..d230c03 100644 --- a/scripts/restore +++ b/scripts/restore @@ -115,7 +115,7 @@ yunohost service add $app #================================================= # START SYSTEMD SERVICE #================================================= -ynh_print_info --message="Starting a systemd service..." +ynh_print_info --message="Starting $app service..." ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Started Wekan, task board" sleep 30 diff --git a/scripts/upgrade b/scripts/upgrade index 4f4003c..ecf86db 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -142,7 +142,7 @@ path_url=$(ynh_normalize_url_path --path_url=$path_url) #================================================= # STOP SYSTEMD SERVICE #================================================= -ynh_print_info --message="Stopping a systemd service..." +ynh_print_info --message="Stopping $app service..." ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"