Remove legacy lsb info from Minion initialization script

Description

In the beginning of the initialization script for Minion, it still contains legacy lsb info.

This causes problems in newer versions of RHEL based OSes since the systemd-sysv-install script is not installed by default and is a compatibility program to be able to interact with the legacy init service system which causes the enabling of the service to fail.

I propose changing the following in the /opt/minion/bin/minion script:

to the below which is similar to what is in the $OPENNMS_HOME/bin/opennms script that is already systemd native:

Or whatever changes need to occur to make this script systemd native.

Environment

RHEL and Debian/Ubuntu

Acceptance / Success Criteria

None

Activity

Show:

David Schlenk May 11, 2023 at 3:08 PM

Fixed

Details

Assignee

Reporter

HB Grooming Date

HB Backlog Status

Components

Sprint

Affects versions

Priority

PagerDuty

Created April 18, 2023 at 7:52 PM
Updated June 15, 2023 at 3:48 PM
Resolved June 15, 2023 at 3:48 PM