From 49f194ba39d42ac1e77d5fec1880b91d2317fa0c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Thu, 1 Jul 2021 16:35:43 -0400 Subject: fix stopping pihole --- modules/pihole/templates/pihole.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/pihole') diff --git a/modules/pihole/templates/pihole.service b/modules/pihole/templates/pihole.service index f988cbf..291e0c7 100644 --- a/modules/pihole/templates/pihole.service +++ b/modules/pihole/templates/pihole.service @@ -4,7 +4,7 @@ After=network.target [Service] ExecStart=/usr/bin/podman run --rm --name pihole -p 53:53/tcp -p 53:53/udp -p 80:80 -e TZ=America/New_York -v "<%= @dir %>/etc-pihole/:/etc/pihole/" -v "<%= @dir %>/etc-dnsmasq.d/:/etc/dnsmasq.d/" -v "<%= @dir %>/var-log/pihole.log:/var/log/pihole.log" --dns 127.0.0.1 --dns 4.2.2.4 --hostname pi.hole -e VIRTUAL_HOST=pi.hole -e PROXY_LOCATION=pi.hole -e WEBPASSWORD=<%= @webpassword %> -e ServerIP=127.0.0.1 docker.io/pihole/pihole:latest -ExecStop=/usr/bin/docker stop pihole +ExecStop=/usr/bin/podman stop pihole Restart=always [Install] -- cgit v1.2.3-54-g00ecf