chiark / gitweb /
execute: try to suppress PR_SET_SECUREBITS if unnecessary
[elogind.git] / service.h
index c8e41ba26441fa37c4a005eff95f4f1c4d8ba9f5..632e5eae4d51b708f3d532a4aa10f6a8aa5afa3c 100644 (file)
--- a/service.h
+++ b/service.h
@@ -88,6 +88,9 @@ struct Service {
         ExecCommand* exec_command[_SERVICE_EXEC_MAX];
         ExecContext exec_context;
 
+        bool permissions_start_only;
+        bool root_directory_start_only;
+
         ServiceState state;
 
         ExecStatus main_exec_status;
@@ -99,10 +102,13 @@ struct Service {
         bool failure:1; /* if we shut down, remember why */
         Watch timer_watch;
 
+        char *sysv_path;
+        int sysv_start_priority;
+
         RateLimit ratelimit;
 };
 
-const UnitVTable service_vtable;
+extern const UnitVTable service_vtable;
 
 const char* service_state_to_string(ServiceState i);
 ServiceState service_state_from_string(const char *s);