问题
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