Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [Solved] sysctl-s6 (Read 689 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[Solved] sysctl-s6

Similar to the “iptables-s6” package, could a “sysctl-s6” package be considered as well? This would bring it to equal simplicity with systemd. I tweak a lot of settings, and that would be the main last default service needed.

Re: sysctl-s6

Reply #1
Any reason why this can't be done with a command in /etc/s6/rc.local?

Re: sysctl-s6

Reply #2
Actually, I totally forgot but s6-scripts already has a sysctl oneshot in it that executes "sysctl --system" on every bootup. Should be sufficient right? Just put the commands you want in the appropriate conf file as described in the manual.

Re: sysctl-s6

Reply #3
Awesome! So I was putting “sysctl -p” in my “/etc/s6/rc.local” file, but once I removed that and kept “/etc/sysctl.conf” in that directory, it still loaded like you said. Thank you very much.