xxx.service is not a native service, redirecting to /sbin/chkconfig.

centos7编译安装的程序无法用systemctl 启动

[root@nagios-server check_commands]# systemctl enable npcd.service
npcd.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig npcd on

只需要做个对应的软链接就可以了

[root@nagios-server check_commands]# ln -s /usr/local/pnp4nagios/bin/npcd /sbin/npcd

原文地址:https://www.cnblogs.com/benjamin77/p/8573660.html