summaryrefslogtreecommitdiff
path: root/util/s6-restart
diff options
context:
space:
mode:
authorGeorge Abbott <george@gabbott.dev>2023-10-31 17:54:07 +0000
committerGeorge Abbott <george@gabbott.dev>2023-10-31 17:54:07 +0000
commit4d0bd914e7c1ee65f4036e60149a7b891906a5d3 (patch)
treec2a6751823e064e003cd4f6166df07bfc106d7eb /util/s6-restart
Commit all to date.
Diffstat (limited to 'util/s6-restart')
-rwxr-xr-xutil/s6-restart5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/s6-restart b/util/s6-restart
new file mode 100755
index 0000000..4e0e5e4
--- /dev/null
+++ b/util/s6-restart
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+sudo s6-rc -d change $1
+sudo s6-rc -u change $1
+