mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-20 05:11:03 +01:00
8bcee0ee01
- Install both .service files and SysV init scripts on Debian. Signed-off-by: Tom Eastep <teastep@shorewall.net>
19 lines
479 B
Plaintext
19 lines
479 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-pre.target
|
|
Wants=network-pre.target
|
|
Conflicts=iptables.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
|