cfg/.config/systemd/user/docker-compose.service
Knut Ahlers 67b699411b
Fix docker sock location
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2021-10-25 18:37:04 +02:00

18 lines
481 B
Desktop File

[Unit]
Description=Docker Compose container starter
[Service]
WorkingDirectory=/home/luzifer/.config
Type=oneshot
RemainAfterExit=yes
ExecStartPre=/usr/bin/docker-compose pull --quiet --ignore-pull-failures
ExecStart=/usr/bin/docker-compose up -d --remove-orphans
ExecStop=/usr/bin/docker-compose stop
ExecReload=/usr/bin/docker-compose pull --quiet --parallel --ignore-pull-failures
ExecReload=/usr/bin/docker-compose up -d --remove-orphans
[Install]
WantedBy=default.target