Re: [systemd-devel] Q: Change a kernel setting

2022-07-29 Thread Tomasz Torcz
On Fri, Jul 29, 2022 at 08:45:51AM +0200, Ulrich Windl wrote: > Hi! > > I wonder: What is the recommended way to do this with systemd?: > --- > Add the following command to a script executed on system boot, such as > /etc/init.d/boot.local: > > # echo 0 > /sys/kernel/mm/ksm/run > --- > Do I have

[systemd-devel] Q: Change a kernel setting

2022-07-28 Thread Ulrich Windl
Hi! I wonder: What is the recommended way to do this with systemd?: --- Add the following command to a script executed on system boot, such as /etc/init.d/boot.local: # echo 0 > /sys/kernel/mm/ksm/run --- Do I have to write a unit for it, or is there some generic mechanism already? Regards, Ul