From e46f3b8a06eea8a0691c105743171332ddda5911 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Fri, 5 Sep 2014 13:27:44 +0200 Subject: New service: shorewall. --- services/shorewall/finish | 3 +++ services/shorewall/run | 4 ++++ services/shorewall/supervise | 1 + 3 files changed, 8 insertions(+) create mode 100755 services/shorewall/finish create mode 100755 services/shorewall/run create mode 120000 services/shorewall/supervise (limited to 'services') 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 -- cgit 1.4.1