mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-07 04:58:47 +00:00
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. Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
f9c5e2022b
commit
0551002922
@@ -3,7 +3,7 @@ Description=Samhain @MODE_NAME@ Daemon
|
|||||||
After=syslog.target network.target
|
After=syslog.target network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=forking
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=@LIBDIR@/@SAMHAIN_HELPER@ start
|
ExecStart=@LIBDIR@/@SAMHAIN_HELPER@ start
|
||||||
ExecStop=@LIBDIR@/@SAMHAIN_HELPER@ stop
|
ExecStop=@LIBDIR@/@SAMHAIN_HELPER@ stop
|
||||||
|
|||||||
Reference in New Issue
Block a user