[Unit]
Description=Nagios Data Out Daemon
Documentation=http://www.nagios.org/documentation
After=var-run.mount nss-lookup.target network.target local-fs.target time-sync.target
Before=getty@tty1.service plymouth-quit.service xdm.service
Conflicts=ndo2db.socket

[Install]
WantedBy=multi-user.target

[Service]
Type=simple
Restart=on-abort
PIDFile=@piddir@/ndo2db.pid
RuntimeDirectory=ndo2db
RuntimeDirectoryMode=0755
ExecStart=@sbindir@/ndo2db -c @pkgsysconfdir@/ndo2db.cfg -f
ExecStopPost=/bin/rm -f @piddir@/ndo2db.pid
TimeoutStopSec=60
User=@ndo2db_user@
Group=@ndo2db_group@
PrivateTmp=true
OOMScoreAdjust=-500
