1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2026-05-08 09:39:03 +01:00

Allow overriding sysctl parameters via /etc/sysctl.d files (#3883)

Relocate current content of /etc/sysctl.d to /usr/lib and make the /etc folder
writable via a bind mount.
This commit is contained in:
Jan Čermák
2025-02-19 15:33:16 +01:00
committed by GitHub
parent d42e34f646
commit 1b511990e3
8 changed files with 14 additions and 0 deletions
@@ -0,0 +1,14 @@
[Unit]
Description=Kernel persistent sysctl.d
Requires=mnt-overlay.mount
After=mnt-overlay.mount
Before=systemd-sysctl.service
[Mount]
What=/mnt/overlay/etc/sysctl.d
Where=/etc/sysctl.d
Type=None
Options=bind
[Install]
WantedBy=hassos-bind.target