projects
/
cascardo
/
rnetproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use init functions from CentOS 5, instead of those from OpenSuSE.
[cascardo/rnetproxy.git]
/
popproxy.init
diff --git
a/popproxy.init
b/popproxy.init
index
9a82199
..
372f3ec
100644
(file)
--- a/
popproxy.init
+++ b/
popproxy.init
@@
-10,9
+10,13
@@
POPPROXY_BIN=/usr/sbin/popproxy
+if [ -f /etc/init.d/functions ]
+ . /etc/init.d/functions
+fi
+
case $1 in
start)
-
startproc
$POPPROXY_BIN
+
daemon
$POPPROXY_BIN
;;
stop)
killproc $POPPROXY_BIN