Project

General

Profile

Actions

Bug #1610

closed

/etc/init.d/suricata status always returns 0

Added by Miguel Angel Cabrera Moya about 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

According to LSB specification status 0 is returned if the service is ok. But right now /etc/init.d/suricata status always returns 0
https://refspecs.linuxbase.org/LSB_3.1.0/LSB-generic/LSB-generic/iniscrptact.html

For my use case I just need a different value of 0 if something is not ok.

Actions

Also available in: Atom PDF