Add user systemd config to pi-hole container

This commit is contained in:
Thomas Kleinendorst 2024-04-16 17:17:34 +02:00
parent 462e202737
commit 5d32ed57b4
3 changed files with 60 additions and 28 deletions

View file

@ -41,7 +41,7 @@
volumes:
- "/home/{{ actual_username }}/actual_data:/data"
state: stopped
recreate: true
# For more information on the systemd startup service, see: https://linuxhandbook.com/autostart-podman-containers/
generate_systemd:
path: "/home/{{ actual_username }}/.config/systemd/user/"
restart_policy: always