Score:0

How to reload config after changing /etc/sysctl.d/?

in flag

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.

muru avatar
us flag
Why do you think it might not be state of the art?
guettli avatar
in flag
I updated the question. `man service` ... System-V init script ... Wasn't that replaced by systemd long ago?
muru avatar
us flag
Does this answer your question? [Difference between systemctl and service commands](https://askubuntu.com/questions/903354/difference-between-systemctl-and-service-commands)
muru avatar
us flag
Also the quoted README refers to a systemd service (`procps.service` - Sys-V init usually don't have the .service extension)
Score:1
cn flag

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

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.