forked from extern/shorewall_code
23 lines
599 B
Plaintext
23 lines
599 B
Plaintext
|
#
|
||
|
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
||
|
#
|
||
|
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
||
|
# Copyright 2015 Tom Eastep <teastep@shorewall.net>
|
||
|
#
|
||
|
[Unit]
|
||
|
Description=Shorewall IPv4 firewall (lite)
|
||
|
Wants=network-online.target
|
||
|
After=network-online.target
|
||
|
Conflicts=iptables.service firewalld.service
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
EnvironmentFile=-/etc/default/shorewall-lite
|
||
|
StandardOutput=syslog
|
||
|
ExecStart=/sbin/shorewall-lite $OPTIONS start $STARTOPTIONS
|
||
|
ExecStop=/sbin/shorewall-lite $OPTIONS stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=basic.target
|