Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94645 Details for
Bug 144468
games-servers/ut99-ded-451 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
files/ut99-ded.initd
ut99-ded.initd (text/plain), 1.37 KB, created by
Conrad Kostecki
on 2006-08-19 16:42:26 UTC
(
hide
)
Description:
files/ut99-ded.initd
Filename:
MIME Type:
Creator:
Conrad Kostecki
Created:
2006-08-19 16:42:26 UTC
Size:
1.37 KB
patch
obsolete
>#!/sbin/runscript > ># UT2004 Dedicated Server Runscript by Ken Smith ># Changed for UT99 by ConiKost > ># Change the following two variables to customize this script. The default ># script starts up a Onslaught Server. ># Goto http://www.unrealadmin.org to learn how to edit your options > >depend() { > need net >} > >checkconfig() { > if [ -z "${UT99_DIR}" ] ; then > eerror "Please edit /etc/conf.d/ut99-ded" > eerror "I need to know which dir to use!" > return 1 > fi > if [ -z "${UT99_OPTS}" ] ; then > eerror "Please edit /etc/conf.d/ut99-ded" > eerror "I need to know what options to use!" > return 1 > fi > return 0 >} > >start() { > ebegin "Starting UT99 Dedicated Server" > start-stop-daemon --chdir ${UT99_DIR} --env PWD=${UT99_DIR} --make-pidfile --start --quiet --pidfile /var/run/ucc.pid --exec ${UT99_DIR}/ucc -- ${UT99_OPTS} >> /dev/null & > eend $? "Failed to start UT99 Dedicated Server" >} > >stop() { > ebegin "Stopping UT99 Dedicated Server" > start-stop-daemon --stop --quiet --pidfile /var/run/ucc.pid -- >> /dev/null > eend $? "Failed to stop UT99 Dedicated Server" > sleep 1 >} > >reload() { > if [ ! -f /var/run/ucc.pid ]; then > eerror "UT99 Dedicated Server isn't running" > return 1 > fi > ebegin "Reloading UT99 Dedicated Server" > kill -HUP `cat /var/run/ucc.pid` &>/dev/null > 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 Raw
Actions:
View
Attachments on
bug 144468
:
94642
|
94643
|
94644
| 94645