service-settings.h revision 89025037c48afe9ea64ed73d208d619db6b0ccfd
#ifndef SERVICE_SETTINGS_H
#define SERVICE_SETTINGS_H
/* <settings checks> */
enum service_user_default {
};
enum service_type {
};
/* </settings checks> */
struct file_listener_settings {
const char *path;
unsigned int mode;
const char *user;
const char *group;
};
struct inet_listener_settings {
const char *name;
const char *address;
unsigned int port;
bool ssl;
};
struct service_settings {
const char *name;
const char *protocol;
const char *type;
const char *executable;
const char *user;
const char *group;
const char *privileged_group;
const char *extra_groups;
const char *chroot;
bool drop_priv_before_exec;
unsigned int process_min_avail;
unsigned int process_limit;
unsigned int client_limit;
unsigned int service_count;
unsigned int idle_kill;
/* internal to master: */
struct master_settings *master_set;
enum service_type parsed_type;
unsigned int login_dump_core:1;
};
#endif