Télécharger blocklist-sync.service
[Unit]
Description=Synchronize IP Blocklist Manager publication into local firewall
Wants=network-online.target
After=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/blocklist-sync.py --config /etc/blocklist-sync/config.json
User=root
Group=root
NoNewPrivileges=true
PrivateTmp=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/var/lib/blocklist-sync /run
[Install]
WantedBy=multi-user.target