You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/06/08 02:48:31 UTC
DO NOT REPLY [Bug 39754] New: - rpm init script enhancement
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39754>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39754
Summary: rpm init script enhancement
Product: Apache httpd-2
Version: 2.2.2
Platform: Other
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: Platform
AssignedTo: bugs@httpd.apache.org
ReportedBy: fbernardi@bbros.it
Since init script for chkconfig set the environment variable "prog", I think
it's better if we use it creating .pid and run file named like "prog".
diff:
75c75
< [ $RETVAL = 0 ] && touch /var/lock/subsys/httpd
---
> [ $RETVAL = 0 ] && touch /var/lock/subsys/$prog
83c83
< [ $RETVAL = 0 ] && rm -f /var/lock/subsys/httpd /var/run/httpd.pid
---
> [ $RETVAL = 0 ] && rm -f /var/lock/subsys/$prog /var/run/$prog.pid
110c110
< if [ -f /var/run/httpd.pid ] ; then
---
> if [ -f /var/run/$prog.pid ] ; then
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org