linuxShortcuts/Services/pihole.service

13 lines
310 B
SYSTEMD
Raw Permalink Normal View History

2022-10-07 11:40:50 +00:00
[Unit]
Description=pihole
Requires=docker.service multi-user.target
After=docker.service network-online.target dhcpd.service
[Service]
WorkingDirectory=/home/bruno/Apps/piholeDocker
ExecStart=/usr/local/bin/docker-compose up
# ExecStop=/usr/local/bin/docker-compose down
[Install]
WantedBy=multi-user.target