From 1abeb1f8078fe4c3b5b1059ecb043a48310dd0d6 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Mon, 20 Jul 2009 17:42:36 -0300 Subject: [PATCH] Use init functions from CentOS 5, instead of those from OpenSuSE. --- popproxy.init | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/popproxy.init b/popproxy.init index 9a82199..372f3ec 100644 --- 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 -- 2.20.1