[yocto] [PATCH] samhain: correct service status
akuster808
akuster808 at gmail.com
Mon Jul 2 13:14:52 PDT 2018
On 06/26/2018 10:10 PM, Changqing Li wrote:
> 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 at windriver.com>
merged,
thanks
- armin
> ---
> recipes-security/samhain/files/samhain.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-security/samhain/files/samhain.service b/recipes-security/samhain/files/samhain.service
> index e6dc3b9..e4f216a 100644
> --- a/recipes-security/samhain/files/samhain.service
> +++ b/recipes-security/samhain/files/samhain.service
> @@ -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
More information about the yocto
mailing list