packages: accel-ppp/accel-ppp.init, accel-ppp/accel-ppp.spec - initscript:=?UTF-8?Q?=20?=...
glen
glen at pld-linux.org
Fri Apr 20 19:29:55 CEST 2012
Author: glen Date: Fri Apr 20 17:29:55 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- initscript: one kill is really enough, different versions came from template; add todo about duplicate reload part
---- Files affected:
packages/accel-ppp:
accel-ppp.init (1.6 -> 1.7) , accel-ppp.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/accel-ppp/accel-ppp.init
diff -u packages/accel-ppp/accel-ppp.init:1.6 packages/accel-ppp/accel-ppp.init:1.7
--- packages/accel-ppp/accel-ppp.init:1.6 Tue Apr 17 14:58:59 2012
+++ packages/accel-ppp/accel-ppp.init Fri Apr 20 19:29:50 2012
@@ -8,8 +8,9 @@
#
# processname: accel-pppd
# config: /etc/accel-ppp.conf
-# pidfile: /var/run/accel-ppp/accel-ppp.pid
+# pidfile: /var/run/accel-ppp/accel-ppp.pid
#
+# $Id$
#
# Source function library
. /etc/rc.d/init.d/functions
@@ -57,7 +58,6 @@
# Stop daemons.
msg_stopping "accel-pppd"
- killproc accel-pppd
killproc --pidfile $pidfile accel-pppd -TERM
rm -f /var/lock/subsys/accel-ppp
}
@@ -70,7 +70,6 @@
fi
msg_reloading "accel-pppd"
- killproc accel-pppd -HUP
killproc --pidfile $pidfile accel-pppd -HUP
RETVAL=$?
}
@@ -102,11 +101,13 @@
try-restart)
condrestart 0
;;
+# XXX: duplicate force-reload, remove one depending whether it supports reload or not
# include force-reload here if program allows reloading without restart
# otherwise remove reload action and support force-reload as restart if running
reload|force-reload)
reload
;;
+# XXX: duplicate force-reload, remove one depending whether it supports reload or not
# use this one if program doesn't support reloading without restart
force-reload)
condrestart 7
================================================================
Index: packages/accel-ppp/accel-ppp.spec
diff -u packages/accel-ppp/accel-ppp.spec:1.7 packages/accel-ppp/accel-ppp.spec:1.8
--- packages/accel-ppp/accel-ppp.spec:1.7 Fri Apr 20 19:27:10 2012
+++ packages/accel-ppp/accel-ppp.spec Fri Apr 20 19:29:50 2012
@@ -3,6 +3,7 @@
# - check accel-ppp.tmpfiles
# - logrotate archivedir
# - add bconds
+# - initscript: remove duplicate force-reload, remove one depending whether it supports reload or not
#
Summary: High performance PPTP/L2TP/PPPoE server
Name: accel-ppp
@@ -99,6 +100,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2012/04/20 17:29:50 glen
+- initscript: one kill is really enough, different versions came from template; add todo about duplicate reload part
+
Revision 1.7 2012/04/20 17:27:10 glen
- cleanups, buildroot, tabs, cmake macros, don't package standard license
================================================================
---- CVS-web:
http://cvs.pld-linux.org/packages/accel-ppp/accel-ppp.init?r1=1.6&r2=1.7
http://cvs.pld-linux.org/packages/accel-ppp/accel-ppp.spec?r1=1.7&r2=1.8
More information about the pld-cvs-commit
mailing list