diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-05-22 23:08:24 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-05-22 23:08:24 +0200 |
commit | 1b64d026af01277e332d10d9e67e2eed5a4ded28 (patch) | |
tree | af94d466a69a851a4a3ca9f169d6aacee5531669 /src/core/service.h | |
parent | a6903061530cac5fbaa99a080a93221c02c349f9 (diff) |
units: remove service sysv_path variable and replace it by generic unit_path
UnitPath= is also writable via native units and may be used by generators
to clarify from which file a unit is generated. This patch also hooks up
the cryptsetup and fstab generators to set UnitPath= accordingly.
Diffstat (limited to 'src/core/service.h')
-rw-r--r-- | src/core/service.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/service.h b/src/core/service.h index 819672f617..f4ccc2b5a0 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -165,14 +165,13 @@ struct Service { bool forbid_restart:1; bool got_socket_fd:1; #ifdef HAVE_SYSV_COMPAT + bool is_sysv:1; bool sysv_has_lsb:1; bool sysv_enabled:1; int sysv_start_priority_from_rcnd; int sysv_start_priority; - char *sysv_path; char *sysv_runlevels; - usec_t sysv_mtime; #endif char *bus_name; @@ -182,7 +181,6 @@ struct Service { RateLimit start_limit; StartLimitAction start_limit_action; - UnitRef accept_socket; Watch timer_watch; |