mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-15 15:11:55 +08:00
f8284e6e42
* chore(deps): update sonarqube docker tag to v9.9.7 * Update app version [skip ci] --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
10 lines
271 B
Bash
10 lines
271 B
Bash
#!/bin/bash
|
|
|
|
if [ -f "/etc/sysctl.conf" ]; then
|
|
grep -qxF 'vm.max_map_count=262144' /etc/sysctl.conf || echo 'vm.max_map_count=262144' >> /etc/sysctl.conf
|
|
sysctl -p /etc/sysctl.conf >/dev/null
|
|
else
|
|
sysctl -w vm.max_map_count=262144
|
|
fi
|
|
|
|
chown -R 1000:1000 data |