Reload the configuration during postinst rather than restarting.

Fixes #6408

PiperOrigin-RevId: 388978814
This commit is contained in:
Adin Scannell
2021-08-05 11:17:44 -07:00
committed by gVisor bot
parent 43e3d29b97
commit 919a7da6d7
+1 -1
View File
@@ -22,7 +22,7 @@ fi
if [ -f /etc/docker/daemon.json ]; then
runsc install
if systemctl is-active -q docker; then
systemctl restart docker || echo "unable to restart docker; you must do so manually." >&2
systemctl reload docker || echo "unable to reload docker; you must do so manually." >&2
fi
fi