Compare commits

..

No commits in common. "4c7716a9137f34acfb3211742631e4e943352241" and "f9e234915dd8cb64c93c6a7b327606deabdc2ac6" have entirely different histories.

View File

@ -7,14 +7,6 @@ containername=ebesucher
# Variable für die Maximale Nutzung von CPU Cores
CPUcores=
# Überprüfe ob bereits ein restart läuft
if [ -f /tmp/ebesucher_restart.lock ]; then
exit
fi
# Erstelle Lockfile
echo $$ > /tmp/ebesucher_restart.lock
# Ordner des Skripts
git_dir=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
# Wechsel in den Ordner
@ -49,4 +41,3 @@ elif [[ $ram_avail -ge "5" ]]; then
docker_run "4g" "$CPUSet"
fi
rm -f /tmp/ebesucher_restart.lock