Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 132600 Details for
Bug 194654
net-irc/inspircd initscript won't stop and rehash the service
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
init.d patch based on new init.d by Tiger
init.d.diff (text/plain), 1.26 KB, created by
Craig Edwards
on 2007-10-04 22:38:00 UTC
(
hide
)
Description:
init.d patch based on new init.d by Tiger
Filename:
MIME Type:
Creator:
Craig Edwards
Created:
2007-10-04 22:38:00 UTC
Size:
1.26 KB
patch
obsolete
>--- /usr/portage/net-irc/inspircd/files/init.d_inspircd 2007-07-11 09:37:33.000000000 +0100 >+++ files/init.d_inspircd 2007-10-04 23:32:27.000000000 +0100 >@@ -3,29 +3,24 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/files/init.d_inspircd,v 1.3 2007/07/11 08:10:47 hansmi Exp $ > >-opts="${opts} rehash" >- > depend() { >- need net >+ need net > provide ircd > } > > start() { >- ebegin "Starting InspIRCd" >- start-stop-daemon --start --quiet --chuid inspircd \ >- --exec /usr/bin/inspircd -- \ >+ ebegin "Starting InspIRCd" >+ start-stop-daemon --start --quiet --chuid inspircd \ >+ --exec /usr/bin/inspircd \ >+ --pidfile /var/run/inspircd.pid --make-pidfile -- \ > --logfile /var/log/inspircd/ircd.log &>/dev/null >- eend $? >+ sleep 1 >+ echo `pidof inspircd` > /var/run/inspircd.pid >+ eend $? > } > > stop() { >- ebegin "Stopping InspIRCd" >- start-stop-daemon --stop --quiet --pidfile /var/run/inspircd/ircd.pid >- eend $? >-} >- >-rehash() { >- ebegin "Rehashing InspIRCd" >- kill -s SIGHUP $(</var/run/inspircd/ircd.pid) >- eend $? >+ ebegin "Stopping InspIRCd" >+ start-stop-daemon --stop --quiet --pidfile /var/run/inspircd.pid >+ eend $? > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 194654
:
132599
| 132600 |
132726
|
132728
|
135743