Getting 'command not found' when running daemon in unix

假如想象 提交于 2019-12-11 12:47:20

问题


I am attempting to run the script Daemon.php from a unix prompt as a daemon using the code below as per the instructions given in this tutorial.

daemon Daemon.php --log=/var/log/Daemon.log

When I run this I get the output

daemon: command not found

Does know what might be going wrong?


回答1:


Try daemonize instead. If that also isn't found on your system, simply start Daemon.php in the background and see how far you get.



来源:https://stackoverflow.com/questions/16810875/getting-command-not-found-when-running-daemon-in-unix

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!