removed lockfile command in favour of echoing date to a file. This will remove the need for procmail but still achieve the same functionality
@@ -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
@@ -613,7 +613,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -594,7 +594,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -599,7 +599,7 @@ if [ ${tmuxwc} -eq 1 ]; then
+ldate > ${lockselfname}
@@ -584,7 +584,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -588,7 +588,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -592,7 +592,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -580,7 +580,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -541,7 +541,7 @@ if [ ${tmuxwc} -eq 1 ]; then
@@ -540,7 +540,7 @@ if [ ${tmuxwc} -eq 1 ]; then