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 ...@@ -4,7 +4,7 @@ Description=Deb-o-Matic Node.js Proxy
[Service] [Service]
Type=simple Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env 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 ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure Restart=on-failure
......
...@@ -4,7 +4,7 @@ Description=Deb-o-Matic Node.js ...@@ -4,7 +4,7 @@ Description=Deb-o-Matic Node.js
[Service] [Service]
Type=simple Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env 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 ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure Restart=on-failure
......
DW='/home/debomatic/debomatic-webui/debomatic-webui' DW='/home/debomatic/debomatic-webui/debomatic-webui'
DWPROXY='/home/debomatic/debomatic-webui/proxy' DWPROXY='/home/debomatic/debomatic-webui/proxy'
DWCONFIG='/home/debomatic/debomatic-webui/config' DWCONFIG='/home/debomatic/debomatic-webui/config'
DWLOG='/home/debomatic/debomatic-webui/logs'
DEBUG='' 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