# Contents of /etc/systemd/system/myservice.service [Unit] Description=My Forwarding Service (192.168.1.151:80 --> localhost:5001) After=network.target [Service] Type=simple Restart=always ExecStart=/usr/bin/sudo /usr/bin/node /home/pi/bin/node/simple-port-forwarding.js [Install] WantedBy=multi-user.target