Skip to content

Commit 329606d

Browse files
committed
Address Review Comments.
1 parent 85943dd commit 329606d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dockers/docker-database/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ COPY ["docker-database-init.sh", "/usr/local/bin/"]
3737
COPY ["database_config.json.j2", "/usr/share/sonic/templates/"]
3838
COPY ["database_global.json.j2", "/usr/share/sonic/templates/"]
3939
COPY ["files/supervisor-proc-exit-listener", "/usr/bin"]
40-
COPY ["files/sysctl-net.conf", "/etc/sysctl.conf"]
40+
COPY ["files/sysctl-net.conf", "/etc/sysctl.d/"]
4141
COPY ["critical_processes", "/etc/supervisor"]
4242

4343
ENTRYPOINT ["/usr/local/bin/docker-database-init.sh"]

files/build_templates/docker_image_ctl.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function postStartAction()
7474
{
7575
{%- if docker_container_name == "database" %}
7676
if [ "$DEV" ]; then
77-
docker exec -i database$DEV sysctl -p -e
77+
docker exec -i database$DEV sysctl --system -e
7878
link_namespace $DEV
7979
fi
8080

0 commit comments

Comments
 (0)