diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-12-30 22:57:30 +0100 |
commit | 0a96e4538fe6552dd75aa939b249030f4cdfd77f (patch) | |
tree | 8c998c4ab78ea4b60d433847a9632466b9a814a4 /package/srelay | |
parent | 845317b460ee99ad633534cad4de72404af7e30b (diff) |
fix startup scripts, fix stop routine
Diffstat (limited to 'package/srelay')
-rw-r--r-- | package/srelay/files/srelay.init | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/srelay/files/srelay.init b/package/srelay/files/srelay.init index d7aa908f5..090a0534b 100644 --- a/package/srelay/files/srelay.init +++ b/package/srelay/files/srelay.init @@ -12,10 +12,10 @@ autostart) ;; start) [ -f /etc/srelay.conf ] || exit 1 - srelay ${srelay_flags} + /usr/bin/srelay ${srelay_flags} ;; stop) - pkill srelay + kill $(pgrep -f /usr/bin/srelay) ;; restart) sh $0 stop |