Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions pkg/blobfuse-proxy/install-proxy-rhcos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,13 @@ if [ "${INSTALL_BLOBFUSE_PROXY}" = "true" ];then
cp /blobfuse-proxy/blobfuse-proxy.service /host/etc/systemd/system/blobfuse-proxy.service
fi

$HOST_CMD systemctl daemon-reload
$HOST_CMD systemctl enable blobfuse-proxy.service
if [ "$updateBlobfuseProxy" = "true" ] || [ "$updateService" = "true" ];then
echo "start blobfuse-proxy...."
$HOST_CMD systemctl daemon-reload
$HOST_CMD systemctl enable blobfuse-proxy.service
echo "restart blobfuse-proxy...."
$HOST_CMD systemctl restart blobfuse-proxy.service
else
echo "start blobfuse-proxy...."
$HOST_CMD systemctl start blobfuse-proxy.service
fi
fi
9 changes: 6 additions & 3 deletions pkg/blobfuse-proxy/install-proxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,13 @@ if [ "${INSTALL_BLOBFUSE_PROXY}" = "true" ];then
cp /blobfuse-proxy/blobfuse-proxy.service /host/usr/lib/systemd/system/blobfuse-proxy.service
fi

$HOST_CMD systemctl daemon-reload
$HOST_CMD systemctl enable blobfuse-proxy.service
if [ "$updateBlobfuseProxy" = "true" ] || [ "$updateService" = "true" ];then
echo "start blobfuse-proxy...."
$HOST_CMD systemctl daemon-reload
$HOST_CMD systemctl enable blobfuse-proxy.service
echo "restart blobfuse-proxy...."
$HOST_CMD systemctl restart blobfuse-proxy.service
else
echo "start blobfuse-proxy...."
$HOST_CMD systemctl start blobfuse-proxy.service
fi
fi
Loading