diff --git a/install_web.sh b/install_web.sh index 2d0aacc..a39e4d7 100755 --- a/install_web.sh +++ b/install_web.sh @@ -32,7 +32,7 @@ deactivate_node # Install strace for linetrace functionality sudo apt install -y strace # For rpi4 non-armbian version we need to give ptrace the right permissions -sudo bash -c 'echo "0" > /proc/sys/kernel/yama/ptrace_scope' +sudo sed -i 's/kernel.yama.ptrace_scope = 1/kernel.yama.ptrace_scope = 0/g' /etc/sysctl.d/10-ptrace.conf # Install nginx (as reverse proxy to all services) sudo apt install -y nginx