Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 190622 Details for
Bug 111566
games-fps/sauerbraten add build-from-source ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sauerbraten init script
sauerbraten.init (text/plain), 1.91 KB, created by
Jon Severinsson
on 2009-05-07 14:20:30 UTC
(
hide
)
Description:
sauerbraten init script
Filename:
MIME Type:
Creator:
Jon Severinsson
Created:
2009-05-07 14:20:30 UTC
Size:
1.91 KB
patch
obsolete
>#!/sbin/runscript > >depend() { > use net >} > >start() { > [ $(echo ${RUNMASTER} | tr '[:upper:]' '[:lower:]') = "yes" ] && start_master > [ $(echo ${RUNSERVER} | tr '[:upper:]' '[:lower:]') = "yes" ] && start_server > true >} > >start_server() { > ebegin "Starting Sauerbraten dedicated server" > > # Make sure necessary parameters are set > SERVERCONFIG="${SERVERCONFIG:-%SYSCONFDIR%}" > > if [ ! -d ${SERVERCONFIG} ]; then > einfo "No ${SERVERCONFIG} around. Creating new..." > mkdir ${SERVERCONFIG} > chown ${USER}:${GROUP} ${SERVERCONFIG} > fi > > start-stop-daemon \ > --quiet --start --chuid ${USER}:${GROUP} --chdir ${SERVERCONFIG} \ > --make-pidfile --pidfile %GAMES_STATEDIR%/run/sauerbraten/server.pid \ > --background --exec %LIBEXECDIR%/sauer_server -- ${SERVERARGS} > eend $? >} > >start_master() { > ebegin "Starting Sauerbraten master server" > > # Make sure necessary parameters are set > MASTERCONFIG="${MASTERCONFIG:-%SYSCONFDIR%}" > [ -n "${MASTERIP}" ] && MASTERPORT="${MASTERPORT:-28787}" > MASTERARGS="${MASTERCONFIG}/ ${MASTERPORT} ${MASTERIP}" > > if [ ! -d ${MASTERCONFIG} ]; then > einfo "No ${MASTERCONFIG} around. Creating new..." > mkdir ${MASTERCONFIG} > chown ${USER}:${GROUP} ${MASTERCONFIG} > fi > > start-stop-daemon \ > --quiet --start --chuid ${USER}:${GROUP} \ > --make-pidfile --pidfile %GAMES_STATEDIR%/run/sauerbraten/master.pid \ > --background --exec %LIBEXECDIR%/sauer_master -- ${MASTERARGS} > eend $? >} > >stop() { > [ $(echo ${RUNSERVER} | tr '[:upper:]' '[:lower:]') = "yes" ] && stop_server > [ $(echo ${RUNMASTER} | tr '[:upper:]' '[:lower:]') = "yes" ] && stop_master > true >} > >stop_server() { > ebegin "Stopping Sauerbraten dedicated server" > start-stop-daemon --stop --retry 3 --pidfile %GAMES_STATEDIR%/run/sauerbraten/server.pid > eend $? >} > >stop_master() { > ebegin "Stopping Sauerbraten master server" > start-stop-daemon --stop --retry 3 --pidfile %GAMES_STATEDIR%/run/sauerbraten/master.pid > eend $? >} > >restart() { > svc_stop > svc_start >}
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 111566
:
72192
|
72193
|
78674
|
81067
|
81105
|
83051
|
85513
|
89323
|
89519
|
92628
|
92669
|
96861
|
100392
|
104570
|
104704
|
104899
|
104900
|
104902
|
104903
|
104905
|
116408
|
116410
|
116411
|
133448
|
133449
|
133450
|
139476
|
139478
|
152457
|
152459
|
157443
|
190408
|
190448
|
190465
|
190468
|
190470
|
190472
|
190546
|
190547
|
190548
|
190550
| 190622 |
190657
|
190660
|
199353
|
239489
|
239491
|
239493
|
239593
|
239789
|
240635