2021-08-04 01:50:16 +02:00
|
|
|
# dnscrypt-server service file
|
|
|
|
[Unit]
|
|
|
|
Description=A Docker image for a non-censoring, non-logging, DNSSEC-capable, DNSCrypt-enabled DNS resolver
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Restart=always
|
2022-09-03 15:40:20 +02:00
|
|
|
ExecStartPre=/usr/bin/docker-compose -p dnscrypt-server -f /etc/dnscrypt/docker-compose.yml down
|
2021-08-04 01:50:16 +02:00
|
|
|
ExecStart=/usr/bin/docker-compose -p dnscrypt-server -f /etc/dnscrypt/docker-compose.yml up --remove-orphans
|
|
|
|
ExecStop=/usr/bin/docker-compose -p dnscrypt-server -f /etc/dnscrypt/docker-compose.yml stop
|
|
|
|
StartLimitBurst=5
|
|
|
|
StartLimitInterval=60s
|
|
|
|
Slice=dnscrypt-server.slice
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|