about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rwxr-xr-xservices/shorewall/finish3
-rwxr-xr-xservices/shorewall/run4
l---------services/shorewall/supervise1
3 files changed, 8 insertions, 0 deletions
diff --git a/services/shorewall/finish b/services/shorewall/finish
new file mode 100755
index 0000000..1f23ab2
--- /dev/null
+++ b/services/shorewall/finish
@@ -0,0 +1,3 @@
+#!/bin/sh
+set -e
+exec shorewall stop
diff --git a/services/shorewall/run b/services/shorewall/run
new file mode 100755
index 0000000..751bf5b
--- /dev/null
+++ b/services/shorewall/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -e
+shorewall start
+exec chpst -b shorewall pause
diff --git a/services/shorewall/supervise b/services/shorewall/supervise
new file mode 120000
index 0000000..b099d93
--- /dev/null
+++ b/services/shorewall/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.shorewall
\ No newline at end of file