From e36ea0c052038e67f9a54432ca2291f52200ee6a Mon Sep 17 00:00:00 2001 From: lepz0r Date: Sun, 27 Nov 2022 10:06:33 +0700 Subject: [PATCH] Added s6 init script --- init.d/s6/zapret/down | 2 ++ init.d/s6/zapret/type | 1 + init.d/s6/zapret/up | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 init.d/s6/zapret/down create mode 100644 init.d/s6/zapret/type create mode 100644 init.d/s6/zapret/up diff --git a/init.d/s6/zapret/down b/init.d/s6/zapret/down new file mode 100644 index 0000000..aaab911 --- /dev/null +++ b/init.d/s6/zapret/down @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +exec /opt/zapret/init.d/sysv/zapret stop diff --git a/init.d/s6/zapret/type b/init.d/s6/zapret/type new file mode 100644 index 0000000..bdd22a1 --- /dev/null +++ b/init.d/s6/zapret/type @@ -0,0 +1 @@ +oneshot diff --git a/init.d/s6/zapret/up b/init.d/s6/zapret/up new file mode 100644 index 0000000..42a1210 --- /dev/null +++ b/init.d/s6/zapret/up @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +exec /opt/zapret/init.d/sysv/zapret start