authentik: maybe don't try to detach the container for now
seems oneshot won't work properly, even without Restart=always
This commit is contained in:
parent
e2a071d69f
commit
405b5c5385
@ -5,7 +5,7 @@ After=docker.service
|
||||
Before=nginx.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
Type=simple
|
||||
|
||||
User=authentik
|
||||
Group=authentik
|
||||
@ -21,7 +21,7 @@ ExecStartPre=/usr/bin/docker-compose down -v
|
||||
ExecStartPre=-/usr/bin/docker-compose pull --quiet
|
||||
|
||||
# Compose up
|
||||
ExecStart=/usr/bin/docker-compose up -d
|
||||
ExecStart=/usr/bin/docker-compose up
|
||||
|
||||
# Compose down, remove containers and volumes
|
||||
ExecStop=/usr/bin/docker-compose down -v
|
||||
|
Loading…
Reference in New Issue
Block a user