mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-26 17:43:15 +01:00
194252afd3
Before shorewall failed to load if there were interfaces which were required but there wasn't any other service which wanted network-online.target. By adding Wants=network-online.target we make sure shorewall[6]* startup won't fail if there are required interfaces Signed-off-by: Tuomo Soini <tis@foobar.fi>
22 lines
535 B
Plaintext
22 lines
535 B
Plaintext
#
|
|
# The Shoreline Firewall (Shorewall) Packet Filtering Firewall
|
|
#
|
|
# Copyright 2011 Jonathan Underwood <jonathan.underwood@gmail.com>
|
|
#
|
|
[Unit]
|
|
Description=Shorewall IPv6 firewall (lite)
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
Conflicts=ip6tables.service firewalld.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
EnvironmentFile=-/etc/sysconfig/shorewall6-lite
|
|
StandardOutput=syslog
|
|
ExecStart=/sbin/shorewall6-lite $OPTIONS start
|
|
ExecStop=/sbin/shorewall6-lite $OPTIONS stop
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|