5 [ -f /etc
/conf.d
/dionaea
] && .
/etc
/conf.d
/dionaea
6 PID
="$(cat /var/run/dionaea.pid 2>/dev/null)"
7 # Check if process is still running
8 kill -0 ${PID} 2>/dev
/null
14 stat_busy
"Starting Dionaea"
15 [ -z "$PID" ] && /opt
/dionaea
/bin
/dionaea
${DIONAEA_OPTS} -l ${LOG_LEVEL_OPTS} -L ${LOG_DOMAIN_OPTS} -D -p /var
/run
/dionaea.pid
&>/dev
/null
&
24 stat_busy
"Stopping Dionaea"
25 [ ! -z "$PID" ] && kill $PID &> /dev
/null
47 echo "usage: $0 {start|stop|restart}"