about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorEnno Boland <g@s01.de>2014-09-05 13:27:44 +0200
committerEnno Boland <g@s01.de>2014-09-05 13:27:44 +0200
commite46f3b8a06eea8a0691c105743171332ddda5911 (patch)
tree55aa0787c91e16491a340413f56c20be82d809ff /services
parentb2ed844f4e9ff80f6dd6a6e6483b272ae37ab6ff (diff)
downloadrunit-void-e46f3b8a06eea8a0691c105743171332ddda5911.tar.gz
runit-void-e46f3b8a06eea8a0691c105743171332ddda5911.tar.xz
runit-void-e46f3b8a06eea8a0691c105743171332ddda5911.zip
New service: shorewall.
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