[Unit] Description=iptables firewall service After=redis.service [Service] Type=oneshot ExecStart=bash /opt/firewall/firewall.sh start ExecStop=bash /opt/firewall/firewall.sh stop RemainAfterExit=true StandardOutput=journal [Install] WantedBy=multi-user.target