1
0
peddlers-of-ketran/install/ketr.ketran.service
James Ketrenos a8995030ac Almost working with new react
Signed-off-by: James Ketrenos <james_eikona@ketrenos.com>
2022-01-03 21:13:47 -08:00

19 lines
382 B
Desktop File
Executable File

[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