On Di, 16.01.18 12:52, Tomasz Michalski (tmichalsk...@gmail.com) wrote: > Hi > I have a problem with call methods from terminal which take an argument, > for example when I try to use this one: > busctl call org.freedesktop.systemd1 > /org/freedesktop/systemd1/unit/syscom_2epath org.freedesktop.systemd1.Unit > Kill > I get output > Invalid arguments '' to call org.freedesktop.systemd1.Unit.Kill(), > expecting 'si'.
There's TAB completion btw, that helps you with this. and "si" tells you that you need to specify a string and an integer. What the string and integer encode is usually documented here: https://www.freedesktop.org/wiki/Software/systemd/dbus/ Though that document is unfortunately a bit out of date. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel