diff options
| author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-18 21:59:22 +0200 |
|---|---|---|
| committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-18 21:59:22 +0200 |
| commit | c8a8ec613ecf6062040f97cf77b459348e0cb0b8 (patch) | |
| tree | 443f787f77ae27b6775d7c0a9f25c5f78bb41a5d /testing/munin/munin-node.initd | |
| parent | 584f8e08b4dbc4602ae7f7bdf70007efdc11e788 (diff) | |
| download | aports-c8a8ec613ecf6062040f97cf77b459348e0cb0b8.tar.bz2 aports-c8a8ec613ecf6062040f97cf77b459348e0cb0b8.tar.xz | |
community/munin: move back to testing due to depends
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 000000000..ad497eae2 --- /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 +} |
