Skip to contentSkip to conversation

samhain: correct service status

PATCH In review Changqing Li 2 participants 2 messages Jun 27, 2018 – Jul 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samhain: correct service status

status get by "systemctl status samhain" is not correct. It is active(exited) now. but actually, there is a dameon running, it should be active(running). so change Type of servive.

---
 recipes-security/samhain/files/samhain.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/samhain/files/samhain.service +1 -1
index e6dc3b9..e4f216a 100644
@@ -3,7 +3,7 @@ Description=Samhain @MODE_NAME@ Daemon
 After=syslog.target network.target
 
 [Service]
-Type=oneshot
+Type=forking
 RemainAfterExit=yes
 ExecStart=@LIBDIR@/@SAMHAIN_HELPER@ start
 ExecStop=@LIBDIR@/@SAMHAIN_HELPER@ stop
Signature · 1 line
2.7.4
#1 lore raw
Quoted 6 lines · Changqing Li

status get by "systemctl status samhain" is not correct. It is active(exited) now. but actually, there is a dameon running, it should be active(running). so change Type of servive.

merged,

thanks
- armin

Quoted 17 lines
---
 recipes-security/samhain/files/samhain.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/samhain/files/samhain.service +1 -1
index e6dc3b9..e4f216a 100644
@@ -3,7 +3,7 @@ Description=Samhain @MODE_NAME@ Daemon
 After=syslog.target network.target
 
 [Service]
-Type=oneshot
+Type=forking
 RemainAfterExit=yes
 ExecStart=@LIBDIR@/@SAMHAIN_HELPER@ start
 ExecStop=@LIBDIR@/@SAMHAIN_HELPER@ stop