2023-02-11 16:29:32 +01:00
|
|
|
[Unit]
|
|
|
|
Description=DNS proxy (Compose Service)
|
|
|
|
Requires=docker.service
|
|
|
|
After=docker.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
WorkingDirectory=/opt/dns-proxy
|
2024-12-25 22:23:00 +01:00
|
|
|
ExecStart=/usr/bin/docker compose --project-name dns-proxy up
|
|
|
|
ExecStop=/usr/bin/docker compose --project-name dns-proxy down
|
2023-02-11 16:29:32 +01:00
|
|
|
TimeoutStartSec=0
|
|
|
|
Restart=on-failure
|
|
|
|
StartLimitIntervalSec=60
|
|
|
|
StartLimitBurst=3
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|