I tried to connect to the bus and run commands
but with each time trying to connect to systemd, the program runs into infinite loop.
const dbus = require("dbus");
const someBus = dbus.getBus('system');
someBus.getInterface('org.freedesktop.systemd1',
'/org/freedesktop/systemd1',
(err, interface) => {
if (err) throw new Error(err)
console.log(interface)
})