ALT Linux Bugzilla
– Attachment 1509 Details for
Bug 9639
service unreal rehash
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
unreal.init.patch
unreal.init.patch (text/plain), 1.31 KB, created by
Zerg
on 2006-05-31 00:01:06 MSD
(
hide
)
Description:
unreal.init.patch
Filename:
MIME Type:
Creator:
Zerg
Created:
2006-05-31 00:01:06 MSD
Size:
1.31 KB
patch
obsolete
>--- unreal.init~ 2005-05-27 14:22:30 +0400 >+++ unreal.init 2006-05-30 23:57:30 +0400 >@@ -23,11 +23,18 @@ RETVAL=0 > > adjust() > { >- action "Adjusting enviroment for UnrealIRCD server:" /etc/chroot.d/unreal.all >+ action "Adjusting enviroment for UnrealIRCd server:" /etc/chroot.d/unreal.all > RETVAL=$? > return $RETVAL > } > >+rehash() >+{ >+ if [ -e "$LOCKFILE" ]; then >+ action "Rehashing UnrealIRCd:" kill -1 `cat $UIRCD_ROOT/ircd.pid` >+ fi >+} >+ > start() > { > adjust || return >@@ -41,12 +48,12 @@ start() > > mkpasswd() > { >- /usr/sbin/uircd -P $2 $3 >+ $UIRCD_BIN -P $2 $3 > } > > stop() > { >- echo -n "Shutting down UnrealIRC server: " >+ echo -n "Shutting down UnrealIRCd server: " > stop_daemon --lockfile "$LOCKFILE" -- "$UIRCD_BIN" > RETVAL=$? > echo >@@ -62,6 +69,10 @@ case "$1" in > stop) > stop > ;; >+ reload) >+ adjust >+ rehash >+ ;; > rehash) > rehash > ;; >@@ -91,7 +102,7 @@ case "$1" in > fi > ;; > *) >- echo "Usage: ${0##*/} {start|stop|restart|rehash|status|adjust|mkpasswd|condstop|condrestart}" >+ echo "Usage: ${0##*/} {start|stop|restart|reload|rehash|status|adjust|mkpasswd|condstop|condrestart}" > RETVAL=1 > esac >
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 9639
: 1509