infra/roles/pdns/templates/powerdns-admin.service
2024-01-17 16:46:07 -08:00

12 lines
370 B
Desktop File

[Unit]
Description=PowerDNS Admin
Wants=network.target
[Service]
Type=simple
ExecStartPre=/usr/bin/podman pull docker.io/powerdnsadmin/pda-legacy:latest
ExecStart=/usr/bin/podman run --rm -v pda-data:/data -p 9191:80 --env-file /etc/powerdns-admin.env --name powerdns-admin docker.io/powerdnsadmin/pda-legacy:latest
Restart=always
[Install]
WantedBy=multi-user.target