--pidfile missing in init-script
Bug #764449 reported by
falk
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zabbix (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
# diff -Nru /etc/init.
--- /etc/init.
+++ /etc/init.
@@ -42,7 +42,8 @@
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
- start-stop-daemon --oknodo --stop --exec $DAEMON --retry $RETRY
+ start-stop-daemon --oknodo --stop --exec $DAEMON --retry $RETRY \
+ --pidfile $PID
case "$?" in
0) log_end_msg 0 ;;
*) log_end_msg 1; exit 1 ;;
To post a comment you must log in.
standard config in lucid points PID to /var/tmp/ zabbix_ agentd. pid
PidFile=
Must be changed to /var/run/ zabbix- agent/zabbix_ agentd. pid
PidFile=