by tomputer · 10y ago · 0 comments
apt-get install debian-goodies
Then you can run: checkrestart
And it will list services which require a restart. For example: service sudo restart
service ssh restart
service cron restart
service ...
On Debian 8 (Jessie) i had to restart the systemd services as well: systemctl daemon-reexec
systemctl restart systemd-journald
systemctl restart systemd-logind