X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fsystemd-interfaces.vala;h=b7229cea27455309ececd6ed79eaaefffcfadf20;hp=9a8c1dcdf3a04335e115b1a494288c798e96d0fb;hb=b9aea9547a5398685c28288b7dabfede55e0a39b;hpb=c4e2ceae941d02de5574becbfd3b4db15de2eda3 diff --git a/src/systemd-interfaces.vala b/src/systemd-interfaces.vala index 9a8c1dcdf..b7229cea2 100644 --- a/src/systemd-interfaces.vala +++ b/src/systemd-interfaces.vala @@ -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; @@ -140,7 +140,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")]