blob: 9c340bd486a4c1c946a195ba9f3bfe9ee1623a81 [file] [log] [blame]
[Unit]
Description=Save iptable rules
DefaultDependencies=no
After=shutdown.target
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/sh -c "iptables-save > /etc/iptables/iptables.rules"
[Install]
WantedBy=shutdown.target