mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
pid output of /etc/init.d/teamspeak status
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1243 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -12,7 +12,17 @@
|
||||
#
|
||||
########################################################################
|
||||
|
||||
export LANG=en_US.utf8
|
||||
cd /opt/teamspeak && sudo -u teamspeak ./teamspeak2-server_startscript $*
|
||||
exit 0
|
||||
. /etc/sysconfig/rc
|
||||
. $rc_functions
|
||||
|
||||
case "$1" in
|
||||
status)
|
||||
statusproc /opt/teamspeak/server_linux
|
||||
;;
|
||||
*)
|
||||
export LANG=en_US.utf8
|
||||
cd /opt/teamspeak && sudo -u teamspeak ./teamspeak2-server_startscript $*
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
# End $rc_base/init.d/teamspeak
|
||||
|
||||
Reference in New Issue
Block a user