[Unit] Description=Firewall After=network.target [Service] RemainAfterExit=yes ExecStart=/usr/local/bin/firewall start ExecStartPost=-/bin/systemctl try-restart fail2ban.service ExecReload=/usr/local/bin/firewall force-reload ExecReload=-/bin/systemctl try-restart fail2ban.service ExecStop=/usr/local/bin/firewall stop User=root [Install] WantedBy=multi-user.target