Changeset 204 for scripts/usr/local/lib/7dtd/commands
- Timestamp:
- Nov 22, 2014, 10:55:28 PM (10 years ago)
- Location:
- scripts/usr/local/lib/7dtd/commands
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/start.sh
r72 r204 33 33 34 34 for H in $(getHooksFor serverPreStart); do 35 $H $ INSTANCE35 $H $1 36 36 done 37 37 … … 39 39 SSD_DAEMON="--background --no-close" 40 40 SSD_USER="--chuid $SDTD_USER:$SDTD_GROUP --user $SDTD_USER" 41 OPTS="-logfile $(getInstancePath $1)/logs/output_log.txt -configfile=$(getInstancePath $1)/config.xml -dedicated"41 OPTS="-logfile $(getInstancePath $1)/logs/output_log.txt -configfile=$(getInstancePath $1)/config.xml" 42 42 43 L D_LIBRARY_PATH=$SDTD_BASE/linux_files LC_ALL=C $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&143 LC_ALL=C $SSD --start $SSD_PID $SSD_DAEMON $SSD_USER --chdir $SDTD_BASE/engine --exec $SDTD_BASE/engine/7DaysToDie.x86 -- $OPTS > $(getInstancePath $1)/logs/stdout.log 2>&1 44 44 sleep 1 45 45 46 46 for H in $(getHooksFor serverPostStart); do 47 $H $ INSTANCE47 $H $1 48 48 done 49 49 -
scripts/usr/local/lib/7dtd/commands/stop.sh
r169 r204 28 28 if [ $res -eq 1 ]; then 29 29 for H in $(getHooksFor serverPreStop); do 30 $H $ INSTANCE30 $H $1 31 31 done 32 32 … … 54 54 55 55 for H in $(getHooksFor serverPostStop); do 56 $H $ INSTANCE56 $H $1 57 57 done 58 58 -
scripts/usr/local/lib/7dtd/commands/updateengine.sh
r102 r204 75 75 76 76 cd $SDTD_BASE/steamcmd 77 ./steamcmd.sh + @sSteamCmdForcePlatformType windows +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 294420" validate +quit77 ./steamcmd.sh +login $STEAM_USER $STEAM_PASS +force_install_dir $SDTD_BASE/engine "+app_update 294420" validate +quit 78 78 79 cp $SDTD_BASE/linux_files/engine/* $SDTD_BASE/engine/ -R80 79 cp $SDTD_BASE/engine/7DaysToDie_Data/Managed/Assembly-CSharp.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/Assembly-CSharp.dll_orig 81 80 cp /usr/local/lib/7dtd/server-fixes/* $SDTD_BASE/engine/7DaysToDie_Data/Managed/ 82 cp $SDTD_BASE/engine/Install/32bit/SteamworksManaged.dll $SDTD_BASE/engine/7DaysToDie_Data/Managed/83 81 84 82 chown $SDTD_USER.$SDTD_GROUP -R $SDTD_BASE/engine
Note:
See TracChangeset
for help on using the changeset viewer.