blob: 39c984324a98f02ae978c5b424cf8acd5d89eeb8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
[Unit]
Description=Uncomplicated firewall
Documentation=man:ufw(8)
DefaultDependencies=no
Before=network-pre.target sysinit.target
Wants=network-pre.target
After=systemd-sysctl.service
Conflicts=iptables.service ip6tables.service nftables.service firewalld.service
ConditionPathExists=/etc/ufw/ufw.conf
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/share/ufw/ufw-init start
ExecStop=/usr/share/ufw/ufw-init stop
[Install]
WantedBy=multi-user.target
|