daemonize
Run a command (that does not daemonize itself) as a Unix daemon. More information: https://software.clapper.org/daemonize/.
- Run a command as a daemon:
daemonize
- Write the PID to the specified file:
daemonize -p
- Use a lock file to ensure that only one instance runs at a time:
daemonize -l
- Use the specified user account:
sudo daemonize -u
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
