change back from service to regular docker compose
This commit is contained in:
parent
8a306e0c4f
commit
7489d19e41
2 changed files with 4 additions and 42 deletions
|
@ -95,21 +95,3 @@ Persistent=true
|
|||
[Install]
|
||||
WantedBy=timers.target
|
||||
EOF
|
||||
|
||||
# Setup systemd service for authentik
|
||||
[[ ! -f /etc/systemd/system/authentik.service ]] && cat <<EOF > /etc/systemd/system/authentik.service && systemctl daemon-reload && systemctl enable authentik.service
|
||||
[Unit]
|
||||
Description=Authentik Docker Compose Service
|
||||
After=network.target docker.service
|
||||
Requires=docker.service
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
WorkingDirectory=${AUTHENTIK_DOCKER_COMPOSE_PATH}
|
||||
ExecStart=/usr/bin/docker compose up -d
|
||||
ExecStop=/usr/bin/docker compose down
|
||||
TimeoutStartSec=0
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue