summaryrefslogtreecommitdiff
path: root/system/pommed/rc.pommed
diff options
context:
space:
mode:
authorAlan Hicks <alan@lizella.net>2010-05-13 00:41:25 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:41:25 +0200
commit07d0fb52720afaf343b9e0824527e3d970af13e3 (patch)
tree3548a423a4e6958872df66ed6a8bc127b2412966 /system/pommed/rc.pommed
parent43a0944f0e0d7b377cb3c31ff173f0fed91f1c7b (diff)
downloadslackbuilds-07d0fb52720afaf343b9e0824527e3d970af13e3.tar.gz
system/pommed: Updated for version 1.26
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() {