15 lines
289 B
Desktop File
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
|