aboutsummaryrefslogtreecommitdiff
path: root/systemctl
diff options
context:
space:
mode:
Diffstat (limited to 'systemctl')
-rwxr-xr-xsystemctl5
1 files changed, 3 insertions, 2 deletions
diff --git a/systemctl b/systemctl
index 23e799c..5d1d578 100755
--- a/systemctl
+++ b/systemctl
@@ -13,6 +13,7 @@
# 2020-05-14 place framework.sh contents inline so as not to depend on it.
# 2021-01-10 adapted for inclusion in devuan-sanity
# 2021-10-20 add /bin/systemctl symlink control logic
+# 2022-07-12 Convert try-restart to restart
# Usage:
# Should be mostly like systemctl from systemd.
# Reference: ftemplate.sh 2019-05-02a ; framework.sh 2018-05-02a
@@ -28,7 +29,7 @@
# in some service scripts that look for /bin/systemctl
# vim: set sw=3 sts=3 ts=3 et:
fiversion="2019-05-02a"
-systemctlversion="2021-10-20a"
+systemctlversion="2022-07-12a"
usage() {
${PAGER:-/usr/bin/less -F} >&2 <<ENDUSAGE
@@ -409,7 +410,7 @@ case "${action}" in
restart|start|stop|status|reload|condrestart|try-restart|reload-or-try-restart)
# re-map a few actions
case "${action}" in
- "reload-or-try-restart") action=restart ;;
+ "reload-or-try-restart"|try-restart) action=restart ;;
esac
x=1
while test ${x:-${thiscount}} -le $(( thiscount - 1 )) && test ${thiscount} -gt 1 ;
bgstack15