[Unit] Description=Transfer.coffee Tracker After=syslog.target After=network.target [Service] Type=simple User=transfercoffee Group=transfercoffee # Replace /opt/transfer.coffee with where you cloned the repo to WorkingDirectory=/opt/transfer.coffee ExecStart=/usr/bin/npm run tracker Restart=always RestartSec=2s [Install] WantedBy=multi-user.target