November 4, 2025Nov 4 I am trying to make sysctl changes stick after reboot, specifically sysctl -w fs.inotify.max_user_instances=1024 (I have too many docker containers and Git repos apparently).I tried adding it to /boot/config/go but that didn't work.I also tried creating /boot/config/sysctl.conf and adding it there.Not sure what else to do? Appreciate any help.
November 6, 2025Nov 6 Community Expert Solution uer script plugin at frist arry bootsysctl -w fs.inotify.max_user_instances=1024 What I Run:#!/bin/bash # Delay before starting sleep 10 # Apply sysctl settings apply_sysctl_settings() { echo "Applying sysctl settings..." sysctl -w net.ipv6.conf.all.forwarding=1 sysctl -w net.ipv6.conf.br0.accept_ra=2 #sysctl -w net.ipv6.conf.br0.accept_ra_rt_info_max_plen=64 echo "Verifying sysctl settings..." sysctl net.ipv6.conf.all.forwarding sysctl net.ipv6.conf.br0.accept_ra #sysctl net.ipv6.conf.br0.accept_ra_rt_info_max_plen } #run loop apply_sysctl_settings for ipv6 forwarding to ha docker..
November 6, 2025Nov 6 Author That worked! Thank you. Out of curiosity, why did you put the commands in a function?I wonder why it adding that to the go file didn't do the trick. Edited November 6, 2025Nov 6 by unraid_user11
November 6, 2025Nov 6 Community Expert I want the user script plugin log to apply and log shoe me the results had to do with logging and time stamp if issues latter with testing
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.