chiark / gitweb /
service: stop the service if ExecStartPost ends with a failure
[elogind.git] / src / service.h
index 55b9513f48aa3da64e94fef0ef8033faf081286a..15d58cc8ca984a76c32a209df67868a399f717a9 100644 (file)
@@ -86,6 +86,8 @@ typedef enum NotifyAccess {
         _NOTIFY_ACCESS_INVALID = -1
 } NotifyAccess;
 
+typedef struct PathSpec PathSpec;
+
 struct Service {
         Meta meta;
 
@@ -144,6 +146,7 @@ struct Service {
 
         char *sysv_path;
         char *sysv_runlevels;
+        usec_t sysv_mtime;
 #endif
 
         char *bus_name;
@@ -156,6 +159,7 @@ struct Service {
         Set *configured_sockets;
 
         Watch timer_watch;
+        PathSpec *pid_file_pathspec;
 
         NotifyAccess notify_access;
 };