Initial commit
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user