systemd-fw/usr/lib/systemd/system/firewall@.service

16 lines
237 B
SYSTEMD

[Unit]
Description=Firewall autoconf (%i)
Before=network-pre.target
Wants=network-pre.target
[Service]
User=root
Group=root
Type=oneshot
RemainAfterExit=yes
ExecStart=/bin/bash /opt/firewall/%i.fw
[Install]
WantedBy=multi-user.target