pihole-opnsense-sync/pihole-opnsense-sync.service

12 lines
319 B
SYSTEMD

[Unit]
Description=Sync Pi-hole local DNS to OPNsense Unbound
[Service]
User=pihole
Group=pihole
ExecStart=/opt/icinga2-checks/Other/auto-acknowledge-apt.sh --api https://localhost:5665 --fail --user icingaweb2 --password XXXXX
SyslogIdentifier=pihole-opnsense-sync
Restart=always
[Install]
WantedBy=multi-user.target