Open penyzh opened 7 years ago
Apparently, CentOS has no start-stop-daemon
nor its related functions that one would ordinarily find on Debian. Looks like a different init script is needed for RHEL-based systems (at least before RHEL7 with systemd).
We're gladly accepting such fixes via pull requests. I'm a bit swamped with work at the moment, so will not be able to write and test the distro-specific script next week. If you do arrive at one that works, however, I'll be sure to include it in the repo.
Hi There, I'm having the same issue to get the service working on Centos 6. Are you already working on something?
Hi, not at the moment. Your best bet right now is trying either writing a sysvinit script using the daemon
shell script function that is apparently available as standard on CentOS, or defining an upstart job (not sure if CentOS 6 ships with upstart, though).
Feedback a problem
Installation failed on centos 6.8 when start pm2-zabbix service: /etc/init.d/pm2-zabbix: line 46: log_daemon_msg: command not found /etc/init.d/pm2-zabbix: line 47: start-stop-daemon: command not found /etc/init.d/pm2-zabbix: line 49: log_end_msg: command not found
but Successful installation on Ubuntu16.04
thanks a lot !