0

How to reload after changing a file in /etc/sysctl.d/?

According to /etc/sysctl.d/README.sysctl

After making any changes, please run "service procps force-reload" (or, from a Debian package maintainer script "deb-systemd-invoke restart procps.service").

Is the service command still "state of the art"?

man service

   service - run a System V init script

Now I am unsure. System-V init script ... Wasn't that replaced by systemd long ago?

I use Ubuntu 22.04.

guettli
  • 1,777

1 Answers1

1

As per this Redhat document:
Execute sysctl -p /etc/sysctl.d/99-custom.conf to apply the changes without rebooting.

George
  • 327