#include "policy_tokens.h"
#include "server.h"
#include "query.h"
+#include "config.h"
#define DAEMON_NAME "postlicyd"
#define DEFAULT_PORT 10000
return EXIT_FAILURE;
}
+ config_t *config = config_read(argv[optind]);
+ if (config == NULL) {
+ return EXIT_FAILURE;
+ }
+
if (common_setup(pidfile, false, RUNAS_USER, RUNAS_GROUP,
daemonize) != EXIT_SUCCESS
|| start_listener(port) < 0) {