2024-01-17 17:45:49 +00:00
|
|
|
[Unit]
|
|
|
|
Description=PowerDNS Admin
|
|
|
|
Wants=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
ExecStartPre=/usr/bin/podman pull docker.io/powerdnsadmin/pda-legacy:latest
|
2024-11-20 17:31:25 +00:00
|
|
|
ExecStartPre=-/usr/bin/podman stop powerdns-admin
|
|
|
|
ExecStartPre=-/usr/bin/podman rm powerdns-admin
|
2024-01-17 17:45:49 +00:00
|
|
|
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
|