diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2015-12-10 10:35:24 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2015-12-10 10:35:24 +0300 |
commit | 6d09c324953c3bb12a7ae758fa870e44fa52fed6 (patch) | |
tree | 008d7b33cfee91d43f08b83ecedc3d2b206b2bbf /include/daemon.h | |
parent | 53b340e6f158586f79b8f9b4a20ee1253ab15ec6 (diff) |
...G...PS. [ZBXNEXT-611] added support of running zabbix services in foreground
Diffstat (limited to 'include/daemon.h')
-rw-r--r-- | include/daemon.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/daemon.h b/include/daemon.h index c8ee951b71e..773449036b5 100644 --- a/include/daemon.h +++ b/include/daemon.h @@ -28,7 +28,7 @@ extern char *CONFIG_PID_FILE; #include "threads.h" -int daemon_start(int allow_root, const char *user); +int daemon_start(int allow_root, const char *user, unsigned int flags); void daemon_stop(void); int zbx_sigusr_send(int flags); @@ -36,6 +36,6 @@ int zbx_sigusr_send(int flags); #define ZBX_IS_RUNNING() 1 #define ZBX_DO_EXIT() -#define START_MAIN_ZABBIX_ENTRY(a, u) daemon_start(a, u) +#define START_MAIN_ZABBIX_ENTRY(allow_root, user, flags) daemon_start(allow_root, user, flags) #endif /* ZABBIX_DAEMON_H */ |