From 7406fad9e3ad092eb1d53b5220a4dd00f3c47a3a Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 26 Jun 2018 01:24:12 -0600 Subject: [PATCH] don't page systemctl status output --- usr/share/install_helper.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/usr/share/install_helper.sh b/usr/share/install_helper.sh index 2efb22c..f9aafe9 100644 --- a/usr/share/install_helper.sh +++ b/usr/share/install_helper.sh @@ -406,8 +406,11 @@ elif [ "systemd" == "$my_system_launcher" ]; then systemctl --user daemon-reload systemctl --user stop $my_app 2>/dev/null systemctl --user start $my_app + sleep 2 + systemctl --user stop $my_app 2>/dev/null + systemctl --user start $my_app sleep 1 - systemctl --user status $my_app + systemctl --user status --no-pager $my_app else $real_sudo_cmd systemctl daemon-reload @@ -417,7 +420,7 @@ elif [ "systemd" == "$my_system_launcher" ]; then $real_sudo_cmd systemctl daemon-reload $real_sudo_cmd systemctl restart $my_app sleep 1 - $real_sudo_cmd systemctl status $my_app + $real_sudo_cmd systemctl status --no-pager $my_app fi else