summaryrefslogtreecommitdiff
path: root/system/pommed/rc.pommed
diff options
context:
space:
mode:
Diffstat (limited to 'system/pommed/rc.pommed')
-rw-r--r--system/pommed/rc.pommed3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/pommed/rc.pommed b/system/pommed/rc.pommed
index def1086f30..7bac4af536 100644
--- a/system/pommed/rc.pommed
+++ b/system/pommed/rc.pommed
@@ -7,7 +7,8 @@ pommed_start() {
}
pommed_stop() {
- killall pommed
+ kill $(cat /var/run/pommed.pid) || killall pommed
+ rm -f /var/run/pommed.pid
}
pommed_restart() {