Documentation ¶
Overview ¶
daemon process library for linux and windows.
1. you can set restart limit count for child process. 2. you can set child process running user, but only supported in linux, and want root privilege in parent process.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
Start start child process
exit: child process allow exit count, if <=0 not limit, otherwise if child process exit more than exit count, the parent process will exit pid: pid file save path username: change child process by user only supported linux, allow empty arg: child process startup arguments
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.