iptables/iptables.service
Thomas Woerner 48928b097d - added support for native systemd file (rhbz#694738)
- new iptables.service file
  - additional requires
  - moved sysv init scripts to /usr/libexec
  - added new post, preun and postun scripts and triggers
2011-07-15 16:21:02 +02:00

18 lines
361 B
Desktop File

[Unit]
Description=iptables Firewall for IPv4
After=syslog.target
ConditionPathExists=/etc/sysconfig/iptables
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/libexec/iptables start
ExecStop=/usr/libexec/iptables stop
Environment=BOOTUP=serial
Environment=CONSOLETYPE=serial
StandardOutput=syslog
StandardError=syslog
[Install]
WantedBy=basic.target