vanhofen
6 years ago
4 changed files with 12 additions and 61 deletions
@ -1,22 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
. /etc/init.d/globals |
|||
|
|||
case $1 in |
|||
start) |
|||
if [ -e /var/etc/.tuxcald ]; then |
|||
SHOWINFO "starting ..." |
|||
/bin/tuxcald |
|||
fi |
|||
;; |
|||
stop) |
|||
if [ -e /var/etc/.tuxcald ]; then |
|||
SHOWINFO "stopping ..." |
|||
pid=$(cat /var/run/tuxcald.pid 2>/dev/null) |
|||
test -n "$pid" && kill $pid || true |
|||
fi |
|||
;; |
|||
*) |
|||
echo "[$BASENAME] Usage: $0 {start|stop}" |
|||
;; |
|||
esac |
@ -1,2 +0,0 @@ |
|||
#!/bin/sh |
|||
# |
@ -1,23 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
. /etc/init.d/globals |
|||
|
|||
case $1 in |
|||
start) |
|||
if [ -e /var/etc/.tuxmaild ]; then |
|||
SHOWINFO "starting ..." |
|||
/bin/tuxmaild |
|||
sleep 1 |
|||
fi |
|||
;; |
|||
stop) |
|||
if [ -e /var/etc/.tuxmaild ]; then |
|||
SHOWINFO "stopping ..." |
|||
pid=$(cat /var/run/tuxmail.pid 2>/dev/null) |
|||
test -n "$pid" && kill $pid || true |
|||
fi |
|||
;; |
|||
*) |
|||
echo "[$BASENAME] Usage: $0 {start|stop}" |
|||
;; |
|||
esac |
Loading…
Reference in new issue