[Unit] Description=Peddlers of Ketran REST API Requires= After=networking.service [Service] ExecStart=/usr/bin/npm run backend WorkingDirectory=${BASEPATH}/peddlers-of-ketran Restart=always # Restart service after 10 seconds if node service crashes RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=peddlers-of-ketran [Install] WantedBy=multi-user.target