diff options
author | Stefan Wagner <stw@bit-strickerei.de> | 2016-09-28 09:52:42 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-10-20 18:29:19 +0200 |
commit | e2d96a4d6baf8cd72a79741369119effdd44a21e (patch) | |
tree | 58706a046c18d6214333032a46b40fc53a8597ea /community/munin/munin-node.initd | |
parent | 4a67aab47b2ad238f0fe84121527e7e95289ef86 (diff) | |
download | aports-e2d96a4d6baf8cd72a79741369119effdd44a21e.tar.bz2 aports-e2d96a4d6baf8cd72a79741369119effdd44a21e.tar.xz |
community/munin: move from testing
Diffstat (limited to 'community/munin/munin-node.initd')
-rw-r--r-- | community/munin/munin-node.initd | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/munin/munin-node.initd b/community/munin/munin-node.initd new file mode 100644 index 0000000000..ad497eae22 --- /dev/null +++ b/community/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 +} |