summaryrefslogtreecommitdiff
path: root/src/systemd-interfaces.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemd-interfaces.vala')
-rw-r--r--src/systemd-interfaces.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/systemd-interfaces.vala b/src/systemd-interfaces.vala
index a8aeb75579..7445479911 100644
--- a/src/systemd-interfaces.vala
+++ b/src/systemd-interfaces.vala
@@ -52,6 +52,11 @@ public interface Manager : DBus.Object {
public abstract ObjectPath load_unit(string name) throws DBus.Error;
public abstract ObjectPath get_job(uint32 id) throws DBus.Error;
+ public abstract ObjectPath start_unit(string name, string mode) throws DBus.Error;
+ public abstract ObjectPath stop_unit(string name, string mode) throws DBus.Error;
+ public abstract ObjectPath reload_unit(string name, string mode) throws DBus.Error;
+ public abstract ObjectPath restart_unit(string name, string mode) throws DBus.Error;
+
public abstract void clear_jobs() throws DBus.Error;
public abstract void subscribe() throws DBus.Error;