Daily Archives: 18 Mai, 2014

Autostart

Simpel autostart Script for Linux/Debian/Ubuntu Exampel Script: #!/bin/sh ### BEGIN INIT INFO case "$1" in start) echo "Starting NAME" start-stop-daemon –start -quiet -u counterstrike –chuid counterstrike –exec /home/counterstrike/source/server1/csStart.sh start ca ;; stop) echo "Stopping NAME" start-stop-daemon –start -quiet -u counterstrike –chuid counterstrike –exec /home/counterstrike/source/server1/csStart.sh stop ;; *) echo "Usage: /etc/init.d/css1 {start|stop}" exit 1 ;; esac […]