18 lines
398 B
SYSTEMD
18 lines
398 B
SYSTEMD
|
[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
|