2011-07-15 14:21:02 +00:00
|
|
|
[Unit]
|
2011-07-21 13:53:48 +00:00
|
|
|
Description=IPv4 firewall with iptables
|
2011-07-15 14:21:02 +00:00
|
|
|
After=syslog.target
|
|
|
|
ConditionPathExists=/etc/sysconfig/iptables
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
RemainAfterExit=yes
|
2011-07-21 13:53:48 +00:00
|
|
|
ExecStart=/usr/libexec/iptables.init start
|
|
|
|
ExecStop=/usr/libexec/iptables.init stop
|
2011-07-15 14:21:02 +00:00
|
|
|
Environment=BOOTUP=serial
|
|
|
|
Environment=CONSOLETYPE=serial
|
|
|
|
StandardOutput=syslog
|
|
|
|
StandardError=syslog
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=basic.target
|