Browse Source

Replaced lockfile for echoing date

removed lockfile command in favour of echoing date to a file. This will
remove the need for procmail but still achieve the same functionality
pull/128/head
Daniel Gibbs 11 years ago
parent
commit
f170bf5167
  1. 2
      CounterStrike/csserver
  2. 2
      CounterStrikeConditionZero/csczserver
  3. 2
      CounterStrikeGlobalOffensive/csgoserver
  4. 2
      CounterStrikeSource/cssserver
  5. 2
      DayOfDefeat/dodserver
  6. 2
      DayOfDefeatSource/dodsserver
  7. 2
      FistfulOfFrags/fofserver
  8. 2
      GarrysMod/gmodserver
  9. 2
      HalfLife2Deathmatch/hl2dmserver
  10. 2
      HalfLifeDeathmatchClassic/hldmcserver
  11. 2
      Insurgency/insserver
  12. 2
      KillingFloor/kfserver
  13. 2
      Left4Dead2/l4d2server
  14. 2
      NaturalSelection2/ns2server
  15. 2
      NoMoreRoomInHell/nmrihserver
  16. 2
      RedOrchestra/roserver
  17. 2
      TeamFortress2/tf2server
  18. 2
      TeamFortressClassic/tfcserver
  19. 2
      UnrealTournament2004/ut2k4server
  20. 2
      UnrealTournament99/ut99server

2
CounterStrike/csserver

@ -593,7 +593,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
CounterStrikeConditionZero/csczserver

@ -593,7 +593,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
CounterStrikeGlobalOffensive/csgoserver

@ -613,7 +613,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
CounterStrikeSource/cssserver

@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
DayOfDefeat/dodserver

@ -593,7 +593,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
DayOfDefeatSource/dodsserver

@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
FistfulOfFrags/fofserver

@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
GarrysMod/gmodserver

@ -599,7 +599,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
HalfLife2Deathmatch/hl2dmserver

@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
ldate > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
HalfLifeDeathmatchClassic/hldmcserver

@ -593,7 +593,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
Insurgency/insserver

@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
KillingFloor/kfserver

@ -584,7 +584,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
Left4Dead2/l4d2server

@ -593,7 +593,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
NaturalSelection2/ns2server

@ -588,7 +588,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
NoMoreRoomInHell/nmrihserver

@ -592,7 +592,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
RedOrchestra/roserver

@ -580,7 +580,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
TeamFortress2/tf2server

@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
TeamFortressClassic/tfcserver

@ -593,7 +593,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
UnrealTournament2004/ut2k4server

@ -541,7 +541,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

2
UnrealTournament99/ut99server

@ -540,7 +540,7 @@ if [ ${tmuxwc} -eq 1 ]; then
exit
fi
# Create lock file
lockfile -r 0 ${lockselfname}
date > ${lockselfname}
cd "${executabledir}"
tmux new-session -d -s ${servicename} "${executable} ${parms}|tee -a '${consolelog}'"
sleep 1

Loading…
Cancel
Save