Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 358234 Details for
Bug 477658
games-action/teeworlds[dedicated]: server init script won't run
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
New init script
teeworlds (text/plain), 1.01 KB, created by
rypervenche
on 2013-09-08 04:03:28 UTC
(
hide
)
Description:
New init script
Filename:
MIME Type:
Creator:
rypervenche
Created:
2013-09-08 04:03:28 UTC
Size:
1.01 KB
patch
obsolete
>#!/sbin/runscript ># Copyright 1999-2012 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 > >PIDFILE=/var/run/teeworlds.pid >GAME_DIRECTORY=/usr/games/bin >GAME_DATA=/usr/share/games/teeworlds >CONFIG=/etc/teeworlds/teeworlds_srv.cfg > >depend() { > use dns logger net >} > >checkconfig() { > if [ ! -e ${CONFIG} ] ; then > eerror "You need an ${CONFIG} config file to run TeeWorlds" > return 1 > fi >} > >start() { > ebegin "Starting TeeWorlds" > start-stop-daemon --start --background --pidfile "${PIDFILE}" \ > --make-pidfile -d ${GAME_DATA} --user games \ > --exec ${GAME_DIRECTORY}/teeworlds_srv -- -f ${CONFIG} > eend $? >} > >reload() { > ebegin "Reloading TeeWorlds configs and restarting processes" > start-stop-daemon --stop --oknodo --user games \ > --pidfile "${PIDFILE}" --signal HUP \ > --exec ${GAME_DIRECTORY}/teeworlds_srv -- -f ${CONFIG} > eend $? >} > >stop() { > ebegin "Stopping TeeWorlds" > start-stop-daemon --stop --quiet --pidfile "${PIDFILE}" > 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 477658
:
358232
| 358234