Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试按照本教程中给出的说明使用下面的代码从 unix 提示符运行脚本 Daemon.php 作为守护程序。
daemon Daemon.php --log=/var/log/Daemon.log
当我运行它时,我得到了输出
daemon: command not found
知道可能出了什么问题吗?
试试daemonize吧。如果在您的系统上也没有找到,只需Daemon.php在后台启动,看看您能走多远。
daemonize
Daemon.php