updateBogons/updateBogonsOnBoot.service
2022-05-12 09:41:45 +02:00

18 lines
398 B
Desktop File

[Unit]
Description=Update bogon list on boot.
Requires=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/updateBogons --force-update
DynamicUser=yes
ReadWritePaths=/var/cache/updateBogons/
ProtectHome=yes
User=updateBogons
Group=nftables
# This section so we can enable the service, so it fires every time on boot
[Install]
WantedBy=default.target