NagiosEnterprises/ncpa

`service ncpa status` on rpm should normally redirect to systemd

sawolf opened this issue · 1 comments

I'm not gonna put a bug label on this, but it's really strange to see. When I install the latest NCPA (3.1.0) on a fresh CentOS Stream 9 VM, I find that service ncpa status does not redirect to systemd. Instead, there's still a file at /etc/init.d/ncpa in addition to the expected /usr/lib/systemd/system/ncpa.service. I'm not sure this does anything wrong, but technically you have two separate scripts managing the daemon which is, again, strange.

Here's NCPA on CentOS Stream 9:
2024-05-30 ncpa service status

Here's what any other service on the system looks like:
2024-05-30 other service status

Please use some packaging logic to keep that init.d out of the EL stuff, but keep it around for PCLinuxOS and others who are still free of the systemd cancer.