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

xxx.service is not a native service, redirecting to /sbin/chkconfig._第1张图片

 

转载于:https://www.cnblogs.com/benjamin77/p/8573660.html

你可能感兴趣的:(xxx.service is not a native service, redirecting to /sbin/chkconfig.)