diff options
author | Enno Boland <g@s01.de> | 2014-09-05 13:27:44 +0200 |
---|---|---|
committer | Enno Boland <g@s01.de> | 2014-09-05 13:27:44 +0200 |
commit | e46f3b8a06eea8a0691c105743171332ddda5911 (patch) | |
tree | 55aa0787c91e16491a340413f56c20be82d809ff /services | |
parent | b2ed844f4e9ff80f6dd6a6e6483b272ae37ab6ff (diff) | |
download | runit-void-e46f3b8a06eea8a0691c105743171332ddda5911.tar.gz runit-void-e46f3b8a06eea8a0691c105743171332ddda5911.tar.xz runit-void-e46f3b8a06eea8a0691c105743171332ddda5911.zip |
New service: shorewall.
Diffstat (limited to 'services')
-rwxr-xr-x | services/shorewall/finish | 3 | ||||
-rwxr-xr-x | services/shorewall/run | 4 | ||||
l--------- | services/shorewall/supervise | 1 |
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 |