16 lines
237 B
SYSTEMD
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
|
||
|
|