1
0

Fixed for config

Signed-off-by: James Ketrenos <james_git@ketrenos.com>
This commit is contained in:
James Ketr 2022-03-14 11:14:30 -07:00
parent 4d4918bea7
commit 01e2993dbd
2 changed files with 4 additions and 3 deletions

View File

@ -1,2 +1,2 @@
if $programname == "ketr.ketran" then /var/log/ketr.ketran.log
if $programname == "ketr-ketran" then /var/log/ketr.ketran.log

View File

@ -4,14 +4,15 @@ Requires=
After=networking.service
[Service]
User=jketreno
ExecStart=/usr/bin/npm run backend
WorkingDirectory=${BASEPATH}/peddlers-of-ketran
WorkingDirectory=/home/jketreno/public_html/server/peddlers-of-ketran
Restart=always
# Restart service after 10 seconds if node service crashes
RestartSec=10
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=peddlers-of-ketran
SyslogIdentifier=ketr-ketran
[Install]
WantedBy=multi-user.target