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

16 lines
237 B
SYSTEMD
Raw Permalink Normal View History

2019-08-03 09:21:34 +00:00
[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