diff options
author | Stefan Wagner <stw@bit-strickerei.de> | 2016-04-12 00:26:49 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-14 19:59:23 +0000 |
commit | 8050ff6cc71bdb64f6c2a745cc127178f6502956 (patch) | |
tree | 162cee3428de0df87c16e5afad8c1b9eea30ec14 /testing/munin/munin-node.initd | |
parent | 95d9d07e136baac45ba854b8f91317fe5417d101 (diff) | |
download | aports-8050ff6cc71bdb64f6c2a745cc127178f6502956.tar.bz2 aports-8050ff6cc71bdb64f6c2a745cc127178f6502956.tar.xz |
testing/munin: new aport
Diffstat (limited to 'testing/munin/munin-node.initd')
-rw-r--r-- | testing/munin/munin-node.initd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/munin/munin-node.initd b/testing/munin/munin-node.initd new file mode 100644 index 0000000000..ad497eae22 --- /dev/null +++ b/testing/munin/munin-node.initd @@ -0,0 +1,22 @@ +#!/sbin/openrc-run + +# munin-node init.d file for alpine linux. + +name=munin-node + +pidfile=/run/munin/${name}.pid + +command=/usr/sbin/munin-node +command_args="${EXTRA_OPTS}" +command_background="no" + +depend() { + need net + after firewall +} + +start_pre() { + checkpath -d -o munin:munin -m755 /run/munin + checkpath -d -o munin:munin -m755 /var/lib/munin/spool + checkpath -d -o munin:munin -m755 /var/log/munin +} |