mirror of
https://github.com/Pakobbix/passive-income.git
synced 2025-11-09 14:59:40 +00:00
fix for lxc in Unraid & watchtower
This commit is contained in:
parent
04f5c25f0e
commit
df5f5c8921
@ -243,7 +243,7 @@ Ebesucher braucht leider etwas mehr Einrichtung. Aber keine Sorge, ich mach es d
|
||||
Zunächst erstellen wir einen Firefox Container.
|
||||
Dieser soll im Hintergrund die Werbeseiten aufrufen."
|
||||
# Ebesucher Configuration if user = root
|
||||
if [ "$linux_user" == "root" ]; then
|
||||
if [ "$linux_user" == "root" ] || [ "$linux_user" == "USER" ]; then
|
||||
# Check if ebesucher folder already exists
|
||||
if [ -d /root/ebesucher ]; then
|
||||
skip "Ordner ebesucher exestiert bereits"
|
||||
@ -485,7 +485,7 @@ else
|
||||
fi
|
||||
|
||||
if docker ps | grep -q "ebesucher\|traffmonetizer\|peer2profit\|IPRoyal\|packetstream\|honeygain"; then
|
||||
if docker ps -a | grep -i "containerr/watchtower"; then
|
||||
if ! docker ps -a | grep -i "containerr/watchtower"; then
|
||||
if docker run -d --name watchtower --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /etc/localtime:/etc/localtime:ro containrrr/watchtower --cleanup --interval 86400; then
|
||||
erfolg "Watchtower erfolgreich eingerichtet"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user