summarylogtreecommitdiffstats
path: root/nostromo.service
diff options
context:
space:
mode:
authorAndrew O'Neill2017-04-09 11:21:31 -0400
committerAndrew O'Neill2017-04-09 11:21:31 -0400
commit013682ea241eb57d713f3f14637872b2edc9920a (patch)
tree5da5ab4f480c7da7bb77643186352b355d7034c6 /nostromo.service
parentd89c4d4b706f98a2c5be3b27fb00da4bcfdd1459 (diff)
downloadaur-013682ea241eb57d713f3f14637872b2edc9920a.tar.gz
Specify PIDFile so the logs pid gets cleaned up on stop
Diffstat (limited to 'nostromo.service')
-rw-r--r--nostromo.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/nostromo.service b/nostromo.service
index ae903d1e98e3..60691b26008a 100644
--- a/nostromo.service
+++ b/nostromo.service
@@ -4,6 +4,7 @@ After=network.target
[Service]
Type=forking
+PIDFile=/usr/share/nostromo/logs/nhttpd.pid
PrivateDevices=yes
ExecStart=/usr/bin/nhttpd
ExecReload=/bin/kill -HUP $MAINPID