diff options
Diffstat (limited to 'src/core/service.h')
-rw-r--r-- | src/core/service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/service.h b/src/core/service.h index 16b700637c..5c5b24e3ef 100644 --- a/src/core/service.h +++ b/src/core/service.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: LGPL-2.1+ */ #pragma once /*** @@ -163,18 +164,16 @@ struct Service { bool main_pid_alien:1; bool bus_name_good:1; bool forbid_restart:1; + /* Keep restart intention between UNIT_FAILED and UNIT_ACTIVATING */ + bool will_auto_restart:1; bool start_timeout_defined:1; - bool reset_accounting:1; - char *bus_name; char *bus_name_owner; /* unique name of the current owner */ char *status_text; int status_errno; - EmergencyAction emergency_action; - UnitRef accept_socket; sd_event_source *timer_event_source; @@ -186,6 +185,7 @@ struct Service { ServiceFDStore *fd_store; unsigned n_fd_store; unsigned n_fd_store_max; + unsigned n_keep_fd_store; char *usb_function_descriptors; char *usb_function_strings; |