aboutsummaryrefslogtreecommitdiffstats
path: root/community/munin/munin-node.initd
diff options
context:
space:
mode:
authorStefan Wagner <stw@bit-strickerei.de>2016-08-18 20:01:37 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-18 21:21:06 +0200
commit2f2883cc10692bcb0db5997907b081268fad8d79 (patch)
treed81d38b511465f265bd65324bb46fdfeee4749e6 /community/munin/munin-node.initd
parentbe6dec1f57e2315d6b3e04d81be7d2220edbdf7f (diff)
downloadaports-2f2883cc10692bcb0db5997907b081268fad8d79.tar.bz2
aports-2f2883cc10692bcb0db5997907b081268fad8d79.tar.xz
testing/[various]: move to community
Diffstat (limited to 'community/munin/munin-node.initd')
-rw-r--r--community/munin/munin-node.initd22
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
+}