[Unit] Description=Running port forwarding script on startup thanks to a systemd unit. [Service] Type=oneshot ExecStart=/bin/bash /root/dnsfwd.sh [Install] WantedBy=multi-user.target