14 lines
282 B
SYSTEMD
14 lines
282 B
SYSTEMD
|
[Unit]
|
||
|
Description=RezoMetz Firewall Service
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=python3 /usr/local/firewall/init_firewall.py
|
||
|
ExecReload=python3 /usr/local/firewall/init_firewall.py
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
Alias=firewall.service
|