Changeset 18
- Timestamp:
- May 21, 2014, 7:16:53 PM (11 years ago)
- Location:
- scripts
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/etc/7dtd.conf
r17 r18 21 21 export WINE=/usr/bin/wine 22 22 export XMLSTARLET=/usr/bin/xmlstarlet 23 export PKILL=/usr/bin/pkill 24 -
scripts/etc/bash_completion.d/7dtd
r17 r18 1 1 . /usr/local/lib/7dtd/common.sh 2 checkRootLoadConf 2 3 3 4 _sdtd() { -
scripts/usr/local/lib/7dtd/commands/start.sh
r17 r18 29 29 30 30 setAllPlayersOffline $1 31 rm $SDTD_BASE/engine/7DaysToDie_Data/output_log.txt 31 32 32 33 SSD_PID="--pidfile $(getInstancePath $1)/7dtd.pid --make-pidfile" … … 40 41 SSD_MONITOR_PID="--pidfile $(getInstancePath $1)/monitor.pid --make-pidfile" 41 42 SSD_MONITOR_DAEMON="--background" 42 start-stop-daemon --start $SSD_ PID $SSD_DAEMON --exec "/usr/local/lib/monitor-log.sh" -- "$1"43 start-stop-daemon --start $SSD_MONITOR_PID $SSD_MONITOR_DAEMON --exec "/usr/local/lib/7dtd/monitor-log.sh" -- "$1" 43 44 echo "Done!" 44 45 else -
scripts/usr/local/lib/7dtd/commands/stop.sh
r17 r18 45 45 fi 46 46 47 start-stop-daemon --stop --pidfile $(getInstancePath $1)/monitor.pid47 $PKILL -TERM -P $(cat $(getInstancePath $1)/monitor.pid) 48 48 rm $(getInstancePath $1)/monitor.pid 49 49 setAllPlayersOffline $1 -
scripts/usr/local/lib/7dtd/monitor-log.sh
r17 r18 47 47 echo >> $LOG 48 48 49 sleep 5 50 49 51 NOBUF="stdbuf -e0 -o0" 50 52
Note:
See TracChangeset
for help on using the changeset viewer.