Opened 6 years ago

Last modified 4 years ago

#11167 new defect

p910nd does not remove .pid file when stopped

Reported by: Anton van Bohemen <avbohemen@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:


When the p910nd daemon is stopped (/etc/init.d/p910nd stop), the .pid file (/var/run/ is not removed.

When the daemon is started again, the new pid is written to the file, but it is never removed when stopped.

Attachments (0)

Change History (2)

comment:1 Changed 6 years ago by Anton van Bohemen <avbohemen@…>

Simple fix, probably: add "rm $PID_F to stop_service() in init-file:

stop_service() {
        local section="$1"
        config_get port "$section" port

        [ -f $PID_F ] && kill $(cat $PID_F)
# add -> rm $PID_F

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.