From e51bf6a5a61ac445af16a2b6d48d85a903c598c1 Mon Sep 17 00:00:00 2001 From: To-om Date: Wed, 23 Nov 2016 22:52:50 +0100 Subject: [PATCH] #29 Fix systemd init script TheHive user must have enough right to create PID file. So put it in installation directory. --- install/thehive.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/thehive.service b/install/thehive.service index 5ec6e60a21..a4329efcf4 100644 --- a/install/thehive.service +++ b/install/thehive.service @@ -12,7 +12,7 @@ Group=thehive ExecStart=/opt/thehive/bin/thehive \ -Dconfig.file=/etc/thehive/application.conf \ -Dhttp.port=9000 \ - -Dpidfile.path=/var/run/thehive/pid + -Dpidfile.path=/opt/thehive/RUNNING_PID StandardOutput=journal