File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -73,10 +73,13 @@ if [ "${INSTALL_BLOBFUSE_PROXY}" = "true" ];then
7373 cp /blobfuse-proxy/blobfuse-proxy.service /host/etc/systemd/system/blobfuse-proxy.service
7474 fi
7575
76+ $HOST_CMD systemctl daemon-reload
77+ $HOST_CMD systemctl enable blobfuse-proxy.service
7678 if [ " $updateBlobfuseProxy " = " true" ] || [ " $updateService " = " true" ]; then
77- echo " start blobfuse-proxy...."
78- $HOST_CMD systemctl daemon-reload
79- $HOST_CMD systemctl enable blobfuse-proxy.service
79+ echo " restart blobfuse-proxy...."
8080 $HOST_CMD systemctl restart blobfuse-proxy.service
81+ else
82+ echo " start blobfuse-proxy...."
83+ $HOST_CMD systemctl start blobfuse-proxy.service
8184 fi
8285fi
Original file line number Diff line number Diff line change @@ -115,10 +115,13 @@ if [ "${INSTALL_BLOBFUSE_PROXY}" = "true" ];then
115115 cp /blobfuse-proxy/blobfuse-proxy.service /host/usr/lib/systemd/system/blobfuse-proxy.service
116116 fi
117117
118+ $HOST_CMD systemctl daemon-reload
119+ $HOST_CMD systemctl enable blobfuse-proxy.service
118120 if [ " $updateBlobfuseProxy " = " true" ] || [ " $updateService " = " true" ]; then
119- echo " start blobfuse-proxy...."
120- $HOST_CMD systemctl daemon-reload
121- $HOST_CMD systemctl enable blobfuse-proxy.service
121+ echo " restart blobfuse-proxy...."
122122 $HOST_CMD systemctl restart blobfuse-proxy.service
123+ else
124+ echo " start blobfuse-proxy...."
125+ $HOST_CMD systemctl start blobfuse-proxy.service
123126 fi
124127fi
You can’t perform that action at this time.
0 commit comments