File: munin-node.upstart

package info (click to toggle)
munin 2.0.25-1%2Bdeb8u3~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 6,184 kB
  • sloc: perl: 11,818; sh: 3,545; java: 1,880; makefile: 767; python: 272
file content (18 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# vim: set ft=upstart ts=2 et:
description "munin-node"
author "Chuck Short <zulcss@ubuntu.com>"

start on (filesystem and net-device-up IFACE=lo)
stop on runlevel [!2345]

expect fork
respawn

pre-start script
  install -m 0755 -o munin -g munin -d /var/run/munin
end script

script
  [ -r /etc/default/munin-node ] && . /etc/default/munin-node
  exec /usr/sbin/munin-node $DAEMON_ARGS
end script