mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-24 13:36:31 +00: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:
parent
d42e34f646
commit
1b511990e3
@ -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
|
Loading…
x
Reference in New Issue
Block a user