You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-firewall/ufw/files/ufw.service

15 lines
329 B

[Unit]
Description=Uncomplicated Firewall
DefaultDependencies=no
Before=network.target sysinit.target
After=systemd-sysctl.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