From f170bf5167f0a343d53377f3451d7d66e7f80453 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Thu, 10 Jul 2014 12:28:06 +0100 Subject: [PATCH] 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 --- CounterStrike/csserver | 2 +- CounterStrikeConditionZero/csczserver | 2 +- CounterStrikeGlobalOffensive/csgoserver | 2 +- CounterStrikeSource/cssserver | 2 +- DayOfDefeat/dodserver | 2 +- DayOfDefeatSource/dodsserver | 2 +- FistfulOfFrags/fofserver | 2 +- GarrysMod/gmodserver | 2 +- HalfLife2Deathmatch/hl2dmserver | 2 +- HalfLifeDeathmatchClassic/hldmcserver | 2 +- Insurgency/insserver | 2 +- KillingFloor/kfserver | 2 +- Left4Dead2/l4d2server | 2 +- NaturalSelection2/ns2server | 2 +- NoMoreRoomInHell/nmrihserver | 2 +- RedOrchestra/roserver | 2 +- TeamFortress2/tf2server | 2 +- TeamFortressClassic/tfcserver | 2 +- UnrealTournament2004/ut2k4server | 2 +- UnrealTournament99/ut99server | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/CounterStrike/csserver b/CounterStrike/csserver index 5cb14e4b6..198da55e2 100644 --- a/CounterStrike/csserver +++ b/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 diff --git a/CounterStrikeConditionZero/csczserver b/CounterStrikeConditionZero/csczserver index c06143de0..d80ae4f14 100644 --- a/CounterStrikeConditionZero/csczserver +++ b/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 diff --git a/CounterStrikeGlobalOffensive/csgoserver b/CounterStrikeGlobalOffensive/csgoserver index 93e31322b..917c77be3 100644 --- a/CounterStrikeGlobalOffensive/csgoserver +++ b/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 diff --git a/CounterStrikeSource/cssserver b/CounterStrikeSource/cssserver index 8c25a3120..46a4ad17a 100644 --- a/CounterStrikeSource/cssserver +++ b/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 diff --git a/DayOfDefeat/dodserver b/DayOfDefeat/dodserver index c31ee25d8..6ef176c54 100644 --- a/DayOfDefeat/dodserver +++ b/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 diff --git a/DayOfDefeatSource/dodsserver b/DayOfDefeatSource/dodsserver index 30a5f4b66..8fa2cee4b 100644 --- a/DayOfDefeatSource/dodsserver +++ b/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 diff --git a/FistfulOfFrags/fofserver b/FistfulOfFrags/fofserver index 086e89271..e492b7ef6 100644 --- a/FistfulOfFrags/fofserver +++ b/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 diff --git a/GarrysMod/gmodserver b/GarrysMod/gmodserver index e96d4a769..c5eb6670e 100644 --- a/GarrysMod/gmodserver +++ b/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 diff --git a/HalfLife2Deathmatch/hl2dmserver b/HalfLife2Deathmatch/hl2dmserver index 3db43efb4..fab856591 100644 --- a/HalfLife2Deathmatch/hl2dmserver +++ b/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 diff --git a/HalfLifeDeathmatchClassic/hldmcserver b/HalfLifeDeathmatchClassic/hldmcserver index 627631d83..2f289b610 100644 --- a/HalfLifeDeathmatchClassic/hldmcserver +++ b/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 diff --git a/Insurgency/insserver b/Insurgency/insserver index f075dfafb..fee11d573 100644 --- a/Insurgency/insserver +++ b/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 diff --git a/KillingFloor/kfserver b/KillingFloor/kfserver index 0843d7e29..9ffd1096c 100644 --- a/KillingFloor/kfserver +++ b/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 diff --git a/Left4Dead2/l4d2server b/Left4Dead2/l4d2server index d9cf84dd5..9fa727008 100644 --- a/Left4Dead2/l4d2server +++ b/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 diff --git a/NaturalSelection2/ns2server b/NaturalSelection2/ns2server index f2937b3a1..351edb7d7 100644 --- a/NaturalSelection2/ns2server +++ b/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 diff --git a/NoMoreRoomInHell/nmrihserver b/NoMoreRoomInHell/nmrihserver index a48ca22a5..d14bbeb09 100644 --- a/NoMoreRoomInHell/nmrihserver +++ b/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 diff --git a/RedOrchestra/roserver b/RedOrchestra/roserver index cb771b016..83469ac09 100644 --- a/RedOrchestra/roserver +++ b/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 diff --git a/TeamFortress2/tf2server b/TeamFortress2/tf2server index b0ad12d4f..baf304455 100644 --- a/TeamFortress2/tf2server +++ b/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 diff --git a/TeamFortressClassic/tfcserver b/TeamFortressClassic/tfcserver index 9b12032e5..0c6a846f5 100644 --- a/TeamFortressClassic/tfcserver +++ b/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 diff --git a/UnrealTournament2004/ut2k4server b/UnrealTournament2004/ut2k4server index c1e9fa415..fa82039dd 100644 --- a/UnrealTournament2004/ut2k4server +++ b/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 diff --git a/UnrealTournament99/ut99server b/UnrealTournament99/ut99server index fa4821e58..1044c0d1a 100644 --- a/UnrealTournament99/ut99server +++ b/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