Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
server:messaging
openfire
openfire-subsys.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openfire-subsys.patch of Package openfire
diff -Pdpru openfire_src.orig/src/bin/extra/redhat/openfire openfire_src/src/bin/extra/redhat/openfire --- openfire_src.orig/src/bin/extra/redhat/openfire 2013-02-06 21:52:04.000000000 +0100 +++ openfire_src/src/bin/extra/redhat/openfire 2013-02-24 13:03:04.184853909 +0100 @@ -130,7 +130,7 @@ start() { echo - [ $RETVAL -eq 0 -a -d /var/lock/subsys ] && touch /var/lock/subsys/openfire + [ $RETVAL -eq 0 -a -d /var/run ] && touch /var/run/openfire sleep 1 # allows prompt to return @@ -157,7 +157,7 @@ stop() { RETVAL=$? echo - [ $RETVAL -eq 0 -a -f "/var/lock/subsys/openfire" ] && rm -f /var/lock/subsys/openfire + [ $RETVAL -eq 0 -a -f "/var/run/openfire" ] && rm -f /var/run/openfire } restart() { @@ -167,7 +167,7 @@ restart() { } condrestart() { - [ -e "/var/lock/subsys/openfire" ] && restart + [ -e "/var/run/openfire" ] && restart return 0 }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor