don't page systemctl status output

This commit is contained in:
AJ ONeal 2018-06-26 01:24:12 -06:00
parent b89c07276f
commit 7406fad9e3
1 changed files with 5 additions and 2 deletions

View File

@ -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