File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,11 @@ use crate::{Result, UnitTuple};
66 default_path = "/org/freedesktop/systemd1"
77) ]
88trait SystemdManager {
9- fn list_units ( & self ) -> zbus:: Result < Vec < UnitTuple > > ;
109 fn get_unit ( & self , name : & str ) -> zbus:: Result < zvariant:: OwnedObjectPath > ;
10+ fn list_units ( & self ) -> zbus:: Result < Vec < UnitTuple > > ;
11+ fn load_unit ( & self , name : & str ) -> zbus:: Result < zvariant:: OwnedObjectPath > ;
12+ fn reload_unit ( & self , name : & str , mode : & str ) -> zbus:: Result < zvariant:: OwnedObjectPath > ;
13+ fn restart_unit ( & self , name : & str , mode : & str ) -> zbus:: Result < zvariant:: OwnedObjectPath > ;
1114 fn start_unit ( & self , name : & str , mode : & str ) -> zbus:: Result < zvariant:: OwnedObjectPath > ;
1215 fn stop_unit ( & self , name : & str , mode : & str ) -> zbus:: Result < zvariant:: OwnedObjectPath > ;
1316 #[ dbus_proxy( property) ]
You can’t perform that action at this time.
0 commit comments