reboot_with_flags


Description:

[ Version ( since = "4.20.2" ) ]
public bool reboot_with_flags (SystemdFlags flags) throws Error

Ask systemd to trigger Reboot with `SD_LOGIND_*` flags.

Parameters:

this

the Systemd object

flags

SystemdFlags to be passed to the D-Bus request

Returns:

true if the D-Bus request was successful, false otherwise and throws is set.