Commit 5b77e1b2 authored by root's avatar root

Use a stronger syntax for kill command

parent d71b51a8
...@@ -5,7 +5,7 @@ Description=Deb-o-Matic Node.js Proxy ...@@ -5,7 +5,7 @@ Description=Deb-o-Matic Node.js Proxy
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 ExecStart=/usr/bin/nodejs ${DWPROXY}/proxy.js
ExecStop=/bin/kill -TERM $MAINPID ExecStop=/bin/kill -s SIGTERM $MAINPID
Restart=on-failure Restart=on-failure
[Install] [Install]
......
...@@ -5,7 +5,7 @@ Description=Deb-o-Matic web.ui ...@@ -5,7 +5,7 @@ Description=Deb-o-Matic web.ui
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}/node_modules/.bin/coffee ${DW}/debomatic-webui -c ${DWCONFIG}/%i.config ExecStart=/usr/bin/nodejs ${DW}/node_modules/.bin/coffee ${DW}/debomatic-webui -c ${DWCONFIG}/%i.config
ExecStop=/bin/kill -TERM $MAINPID ExecStop=/bin/kill -s SIGTERM $MAINPID
Restart=on-failure Restart=on-failure
[Install] [Install]
......
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