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
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env
ExecStart=/usr/bin/nodejs ${DWPROXY}/proxy.js
ExecStop=/bin/kill -TERM $MAINPID
ExecStop=/bin/kill -s SIGTERM $MAINPID
Restart=on-failure
[Install]
......
......@@ -5,7 +5,7 @@ Description=Deb-o-Matic web.ui
Type=simple
EnvironmentFile=/home/debomatic/debomatic-webui/systemd/systemd.env
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
[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