Add user systemd config to pi-hole container
This commit is contained in:
parent
462e202737
commit
5d32ed57b4
3 changed files with 60 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue