Files
cmp-docs/docs/linux/cmp-iptables.service
2024-03-02 02:54:33 +03:00

15 lines
289 B
Desktop File

[Unit]
Description=Apply iptables rules
After=network.target
[Service]
Type=oneshot
# EnvironmentFile=/etc/default/firewall
ExecStart=/root/bin/cmp-iptables-start.sh
RemainAfterExit=true
ExecStop=/root/bin/cmp-iptables-stop.sh
StandardOutput=journal
[Install]
WantedBy=multi-user.target