diff options
author | Lennart Weller <lhw@ring0.de> | 2016-04-21 12:27:29 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2016-04-21 12:27:29 +0000 |
commit | 30b94862648cdbf4f537337d2e2f01c369a9dee9 (patch) | |
tree | f0219dd8bd744fc09899bd0266402e05a4bff854 /src/daemon.h | |
parent | Imported Upstream version 1.0.0 (diff) | |
download | netdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.tar.xz netdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.zip |
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'src/daemon.h')
-rw-r--r--[-rwxr-xr-x] | src/daemon.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/daemon.h b/src/daemon.h index 77186daae..0642be3c0 100755..100644 --- a/src/daemon.h +++ b/src/daemon.h @@ -3,12 +3,13 @@ extern void sig_handler(int signo); -extern void prepare_rundir(); - extern int become_user(const char *username); extern int become_daemon(int dont_fork, int close_all_files, const char *user, const char *input, const char *output, const char *error, const char *access, int *access_fd, FILE **access_fp); extern void netdata_cleanup_and_exit(int i); +extern char pidfile[]; +extern int pidfd; + #endif /* NETDATA_DAEMON_H */ |