// Alleen gebruiker bluegit mag deze ene unit starten. polkit.addRule(function(action, subject) { if (action.id != "org.freedesktop.systemd1.manage-units") { return; } if (subject.user != "bluegit") { return; } if (action.lookup("verb") == "start" && action.lookup("unit") == "bluegit-update.service") { return polkit.Result.YES; } });