From 0d1eaeecc436cd5a57e619356420590e07e77b19 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 21 Feb 2019 19:10:42 +0100 Subject: [PATCH] Fix journalctl for ynh_systemd_action --- scripts/install | 2 +- scripts/restore | 2 +- scripts/upgrade | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index e4cb182..378df49 100644 --- a/scripts/install +++ b/scripts/install @@ -325,7 +325,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="Browse to http://localhost" +ynh_systemd_action --action=start --service_name=$app --line_match="Browse to http://localhost" --log_path=systemd #================================================= # END OF SCRIPT diff --git a/scripts/restore b/scripts/restore index d89ccf2..116e9d8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -143,7 +143,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:" +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:" --log_path=systemd #================================================= # END OF SCRIPT diff --git a/scripts/upgrade b/scripts/upgrade index 39a97a5..c911943 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -201,7 +201,7 @@ systemctl reload nginx # START SERVICE #================================================= -ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:" +ynh_systemd_action --action=start --service_name=$app --line_match="Redis connection:" --log_path=systemd #================================================= # END OF SCRIPT