Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Keeping Sysctl Changes After Reboot

Featured Replies

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.

Solved by bmartino1

  • Community Expert
  • Solution

uer script plugin at frist arry boot

sysctl -w fs.inotify.max_user_instances=1024

image.png

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..

  • 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 by unraid_user11

  • 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

  • 6 months later...

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.