X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fservice.h;h=39bd1b34018da859bbedfd10cd1aae4a0b2fcf04;hb=07459bb6b92268beb2599f65cf195708d88c51cc;hp=f01906cad47126fa73e1c3c5760868f72528dfb4;hpb=66d9b3b59551a33398b2201662af5c8c17a367c9;p=elogind.git diff --git a/src/service.h b/src/service.h index f01906cad..39bd1b340 100644 --- a/src/service.h +++ b/src/service.h @@ -106,6 +106,7 @@ struct Service { ExecCommand *control_command; ServiceExecCommand control_command_id; pid_t main_pid, control_pid; + int socket_fd; bool permissions_start_only; bool root_directory_start_only; @@ -117,14 +118,14 @@ struct Service { bool bus_name_good:1; bool forbid_restart:1; bool got_socket_fd:1; +#ifdef HAVE_SYSV_COMPAT bool sysv_has_lsb:1; bool sysv_enabled:1; - - int socket_fd; int sysv_start_priority; char *sysv_path; char *sysv_runlevels; +#endif char *bus_name;