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
73
73
cp /blobfuse-proxy/blobfuse-proxy.service /host/etc/systemd/system/blobfuse-proxy.service
74
74
fi
75
75
76
+ $HOST_CMD systemctl daemon-reload
77
+ $HOST_CMD systemctl enable blobfuse-proxy.service
76
78
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...."
80
80
$HOST_CMD systemctl restart blobfuse-proxy.service
81
+ else
82
+ echo " start blobfuse-proxy...."
83
+ $HOST_CMD systemctl start blobfuse-proxy.service
81
84
fi
82
85
fi
Original file line number Diff line number Diff line change @@ -115,10 +115,13 @@ if [ "${INSTALL_BLOBFUSE_PROXY}" = "true" ];then
115
115
cp /blobfuse-proxy/blobfuse-proxy.service /host/usr/lib/systemd/system/blobfuse-proxy.service
116
116
fi
117
117
118
+ $HOST_CMD systemctl daemon-reload
119
+ $HOST_CMD systemctl enable blobfuse-proxy.service
118
120
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...."
122
122
$HOST_CMD systemctl restart blobfuse-proxy.service
123
+ else
124
+ echo " start blobfuse-proxy...."
125
+ $HOST_CMD systemctl start blobfuse-proxy.service
123
126
fi
124
127
fi
You can’t perform that action at this time.
0 commit comments