chiark / gitweb /
man: document /etc/os-release
[elogind.git] / src / systemd-interfaces.vala
index 9a8c1dcdf3a04335e115b1a494288c798e96d0fb..1d202e0314cbc901bfe02f9deffa6a1517f8ed26 100644 (file)
@@ -62,7 +62,7 @@ public interface Manager : DBus.Object {
         public abstract ObjectPath reload_or_restart_unit(string name, string mode = "replace") throws DBus.Error;
         public abstract ObjectPath reload_or_try_restart_unit(string name, string mode = "replace") throws DBus.Error;
 
-        public abstract void reset_maintenance_unit(string name = "") throws DBus.Error;
+        public abstract void reset_failed_unit(string name = "") throws DBus.Error;
 
         public abstract void clear_jobs() throws DBus.Error;
 
@@ -74,6 +74,10 @@ public interface Manager : DBus.Object {
         public abstract void reload() throws DBus.Error;
         public abstract void reexecute() throws DBus.Error;
         public abstract void exit() throws DBus.Error;
+        public abstract void halt() throws DBus.Error;
+        public abstract void power_off() throws DBus.Error;
+        public abstract void reboot() throws DBus.Error;
+        public abstract void kexec() throws DBus.Error;
 
         public abstract ObjectPath create_snapshot(string name = "", bool cleanup = false) throws DBus.Error;
 
@@ -140,7 +144,7 @@ public interface Unit : DBus.Object {
         public abstract ObjectPath reload_or_restart(string mode = "replace") throws DBus.Error;
         public abstract ObjectPath reload_or_try_restart(string mode = "replace") throws DBus.Error;
 
-        public abstract void reset_maintenance() throws DBus.Error;
+        public abstract void reset_failed() throws DBus.Error;
 }
 
 [DBus (name = "org.freedesktop.systemd1.Job")]