Commit 004c5b3b authored by Leo Iannacone's avatar Leo Iannacone

added system.d files - must be checked according with new changes

parent d32ee068
[Unit]
Description=Deb-o-Matic Node.js Proxy
[Service]
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd.env
ExecStart=/usr/bin/nodejs ${DJSPROXY_HOME}/proxy.js 2>&1 > ${DJS_HOME}webui.log
ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure
[Install]
Requires=debomatic-nodejs@amd64.service
Requires=debomatic-nodejs@i386.service
WantedBy=multi-user.target
[Unit]
Description=Deb-o-Matic Node.js
[Service]
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd.env
ExecStartPre=/bin/ln -fs ${DJS_HOME}/%i.config.js ${DJS_HOME}/user.config.js
ExecStart=/usr/bin/nodejs ${DJS_HOME}/index.js 2>&1 > ${DJS_HOME}/webui-amd64.log
ExecStop=/bin/kill -TERM $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target
DJS_HOME='/home/debomatic/debomatic-webui/debomatic-webui'
DJSPROXY_HOME='/home/debomatic/debomatic-webui/nodejs-proxy'
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