diff options
Diffstat (limited to 'net-analyzer/munin/files/munin-asyncd.init.2')
-rw-r--r-- | net-analyzer/munin/files/munin-asyncd.init.2 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net-analyzer/munin/files/munin-asyncd.init.2 b/net-analyzer/munin/files/munin-asyncd.init.2 new file mode 100644 index 000000000000..1e3f0a4a3858 --- /dev/null +++ b/net-analyzer/munin/files/munin-asyncd.init.2 @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +command=/usr/libexec/munin/munin-asyncd +command_args="--fork" +pidfile="/run/munin-asyncd.pid" +start_stop_daemon_args="--background --make-pidfile --user munin-async" + +depend() { + need munin-node + before cron +} + +start_pre() { + checkpath -d -o munin-async:munin -m 0750 /var/spool/munin-async +} + +# vim: filetype=gentoo-init-d: |