[Unit] Description=OSGC-Aptly REST API Requires= After=networking.service [Service] Environment="HTTP_PROXY=http://proxy-chain.intel.com:911/" "NO_PROXY=localhost,127.0.0.1,.intel.com" ExecStart=/usr/bin/npm run backend WorkingDirectory=/home/jketreno/docker/osgc-aptly/osgc-aptly-rest Restart=always # Restart service after 10 seconds if node service crashes RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=osgc-aptly-rest [Install] WantedBy=multi-user.target