【文件属性】:
文件名称:drun:将程序作为守护进程运行
文件大小:3KB
文件格式:ZIP
更新时间:2021-06-19 22:44:58
C
醉
将程序作为守护进程运行
命令
drun OPTIONS PROGRAM [PARAMETERS...]
drun --help
选项
--std_log
: log file for stdout
--err_log : log file for stderr
--pid_file : pid file(supervisor pid)
--retry : PROGRAM restart limit
--help: show this message and exit
例子
drun --std_log /var/log/hoge/errlog --err_log /var/log/hoge/stdlog --pid_file /var/run/hoge.pid --retry 10 hoge para
【文件预览】:
drun-master
----LICENSE(1KB)
----drun.c(3KB)
----.gitignore(233B)
----Makefile(80B)
----README.md(831B)