master
h 16 lines 366 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #ifndef NETDATA_DAEMON_H
4 #define NETDATA_DAEMON_H 1
5
6 #include "machine-guid.h"
7
8 int become_daemon(int dont_fork, const char *user);
9
10 void get_netdata_execution_path(void);
11
12 extern char *pidfile;
13
14 void verify_required_directory(const char *env, const char *dir, bool create_it, int perms);
15
16 #endif /* NETDATA_DAEMON_H */