# ndo2db - the Nagios Remote Plugin Executor
#
# ndo2db is a program that runs plugins on this host
# and reports the results back to a nagios server
#
# Copyright (c) 2016 Nagios(R) Core(TM) Development Team

description		"the Nagios Remote Plugin Executor"

oom score -800
setgid @ndo2db_group@
setuid @ndo2db_user@

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

respawn

exec @sbindir@/ndo2db -c @pkgsysconfdir@/ndo2db.cfg -f
