var searchIndex = {}; searchIndex["daemonize"] = {"doc":"","items":[[6,"uid_t","daemonize","",null,null],[6,"gid_t","","",null,null],[3,"Daemonize","","Daemonization options.",null,null],[4,"DaemonizeError","","This error type for `Daemonize` `start` method.",null,null],[13,"Fork","","Unable to fork",0,null],[13,"DetachSession","","Unable to create new session",0,null],[13,"GroupNotFound","","Group not found",0,null],[13,"GroupContainsNul","","Group option contains NUL",0,null],[13,"SetGroup","","Unable to set group",0,null],[13,"UserNotFound","","User not found",0,null],[13,"UserContainsNul","","User option contains NUL",0,null],[13,"SetUser","","Unable to set user",0,null],[13,"ChangeDirectory","","Unable to change directory",0,null],[13,"PathContainsNul","","pid_file option contains NUL",0,null],[13,"OpenPidfile","","Unable to open pid file",0,null],[13,"LockPidfile","","Unable to lock pid file",0,null],[13,"ChownPidfile","","Unable to chown pid file",0,null],[13,"RedirectStreams","","Unable to redirect standard streams to /dev/null",0,null],[13,"WritePid","","Unable to write self pid to pid file",0,null],[4,"User","","Expects system user id or name. If name is provided it will be resolved to id later.",null,null],[13,"Name","","",1,null],[13,"Id","","",1,null],[4,"Group","","Expects system group id or name. If name is provided it will be resolved to id later.",null,null],[13,"Name","","",2,null],[13,"Id","","",2,null],[6,"Errno","","",null,null],[11,"clone","","",0,null],[11,"cmp","","",0,null],[11,"partial_cmp","","",0,null],[11,"lt","","",0,null],[11,"le","","",0,null],[11,"gt","","",0,null],[11,"ge","","",0,null],[11,"eq","","",0,null],[11,"ne","","",0,null],[11,"fmt","","",0,null],[11,"fmt","","",0,null],[11,"description","","",0,null],[11,"clone","","",1,null],[11,"cmp","","",1,null],[11,"partial_cmp","","",1,null],[11,"lt","","",1,null],[11,"le","","",1,null],[11,"gt","","",1,null],[11,"ge","","",1,null],[11,"eq","","",1,null],[11,"ne","","",1,null],[11,"fmt","","",1,null],[11,"from","","",1,{"inputs":[{"name":"str"}],"output":{"name":"user"}}],[11,"from","","",1,{"inputs":[{"name":"uid_t"}],"output":{"name":"user"}}],[11,"clone","","",2,null],[11,"cmp","","",2,null],[11,"partial_cmp","","",2,null],[11,"lt","","",2,null],[11,"le","","",2,null],[11,"gt","","",2,null],[11,"ge","","",2,null],[11,"eq","","",2,null],[11,"ne","","",2,null],[11,"fmt","","",2,null],[11,"from","","",2,{"inputs":[{"name":"str"}],"output":{"name":"group"}}],[11,"from","","",2,{"inputs":[{"name":"gid_t"}],"output":{"name":"group"}}],[11,"fmt","","",3,null],[11,"new","","",3,{"inputs":[],"output":{"name":"self"}}],[11,"pid_file","","Create pid-file at `path`, lock it exclusive and write daemon pid.",3,null],[11,"chown_pid_file","","If `chown` is true, daemonize will change the pid-file ownership, if user or group are provided",3,null],[11,"working_directory","","Change working directory to `path` or `/` by default.",3,null],[11,"user","","Drop privileges to `user`.",3,null],[11,"group","","Drop privileges to `group`.",3,null],[11,"privileged_action","","Execute `action` just before dropping privileges. Most common usecase is to open listening socket.\nResult of `action` execution will be returned by `start` method.",3,null],[11,"start","","Start daemonization process.",3,null]],"paths":[[4,"DaemonizeError"],[4,"User"],[4,"Group"],[3,"Daemonize"]]}; initSearch(searchIndex);