SRCDS Steam group


Running as daemon
#1
Is there a way I can have SRCDS running in the background as daemon?
Reply
#2
http://forums.srcds.com/viewtopic/6071
from Russia with love
Reply
#3
Err... Did you mean to post this in Windows discussion? If so, don't you mean service?

If you did in fact mean linux... then I think this could do it if you're running debian

start.sh
Code:
#!/bin/bash
echo Content-type: text/plain
echo ""

cd /patch/to/srcds_run_dir


DAEMON=/usr/bin/bash
ARGS="/patch/to/srcds_run"
PID=/patch/to/srcds_run.pid

start-stop-daemon --start --quiet --oknodo \
   --chuid debian-tor:debian-tor \
   --pidfile $PID \
   $NICE \
   --exec $DAEMON -- $ARGS


echo started
[Image: sig_spam.JPG]
Reply
#4
Ok, I meant Windows. Is there an alternative to FireDaemon? I want spending money to be my last resort.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)