Commit 0f5e5af7 authored by Leo Iannacone's avatar Leo Iannacone

removed logs - useless since systemd use intercept output and forwards it to...

removed logs - useless since systemd use intercept output and forwards it to journal, the default log service
parent 2b714c66
# Ignore everything in this directory
*
# Except this file
!.gitignore
......@@ -4,7 +4,7 @@ Description=Deb-o-Matic Node.js Proxy
[Service]
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env
ExecStart=/usr/bin/nodejs ${DWPROXY}/proxy.js 2>&1 > ${DWLOG}/proxy.log
ExecStart=/usr/bin/nodejs ${DWPROXY}/proxy.js
ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure
......
......@@ -4,7 +4,7 @@ Description=Deb-o-Matic Node.js
[Service]
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env
ExecStart=/usr/bin/nodejs ${DW}/debomatic-webui -c ${DWCONFIG}/%i.config.js 2>&1 > ${DWLOG}/webui-%i.log
ExecStart=/usr/bin/nodejs ${DW}/debomatic-webui -c ${DWCONFIG}/%i.config.js
ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure
......
DW='/home/debomatic/debomatic-webui/debomatic-webui'
DWPROXY='/home/debomatic/debomatic-webui/proxy'
DWCONFIG='/home/debomatic/debomatic-webui/config'
DWLOG='/home/debomatic/debomatic-webui/logs'
DEBUG=''
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment