polkit-org / polkit

polkit (formerly PolicyKit) is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.
Other
51 stars 30 forks source link

Implement configuration reloading on SIGHUP and sd_notify support #495

Open bluca opened 2 weeks ago

bluca commented 2 weeks ago

Add support for active reloading of config files via SIGHUP. Also integrate with sd_notify when building with libsystemd, and set Type=notify-reload in the systemd unit, so that a 'systemctl reload polkit' works out of the box. This is especially useful when booting a read-only image, which gets configuration updates via overmounting with another read-only image.