1
0
peddlers-of-ketran/ketr.ketran.service
James Ketrenos ddc9eccfc7 Restructured directory arrangement
Signed-off-by: James Ketrenos <james.p.ketrenos@intel.com>
2020-04-20 12:27:58 -07:00

20 lines
490 B
Desktop File
Executable File

[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