forked from extern/shorewall_code
8bcee0ee01
- Install both .service files and SysV init scripts on Debian. Signed-off-by: Tom Eastep <teastep@shorewall.net>
18 lines
468 B
Plaintext
18 lines
468 B
Plaintext
#
|
|
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
#
|
|
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
#
|
|
[Unit]
|
|
Description=Shorewall firewall (bootup security)
|
|
Before=network.target
|
|
Conflicts=iptables.service ip6tables.service firewalld.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
EnvironmentFile=-/etc/default/shorewall-init
|
|
StandardOutput=syslog
|
|
ExecStart=/sbin/shorewall-init start
|
|
ExecStop=/sbin/shorewall-init stop
|