chiark / gitweb /
service: make sure sysv services keep a ref on shutdown.target so that it doesn't...
[elogind.git] / systemd-interfaces.vala
index 3b65d3c90b3f2ecd0e352c7e20f444fccfcf6bff..045bb550477a0c91b46865ee9a98661a3470f031 100644 (file)
@@ -57,7 +57,11 @@ public interface Manager : DBus.Object {
 
         public abstract string dump() throws DBus.Error;
 
-        public abstract ObjectPath create_snapshot(string name, bool cleanup = false) throws DBus.Error;
+        public abstract void reload() throws DBus.Error;
+        public abstract void reexecute() throws DBus.Error;
+        public abstract void exit() throws DBus.Error;
+
+        public abstract ObjectPath create_snapshot(string name = "", bool cleanup = false) throws DBus.Error;
 
         public abstract signal void unit_new(string id, ObjectPath path);
         public abstract signal void unit_removed(string id, ObjectPath path);
@@ -73,6 +77,7 @@ public interface Unit : DBus.Object {
         }
 
         public abstract string id { owned get; }
+        public abstract string[] names { owned get; }
         public abstract string description { owned get; }
         public abstract string load_state { owned get; }
         public abstract string active_state { owned get; }