mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-21 11:56:32 +00:00
Kill existing services before installing faasd edge
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
@ -70,6 +70,14 @@ PATH=$PATH:$HOME/.arkade/bin
|
|||||||
|
|
||||||
tmpdir=$(mktemp -d)
|
tmpdir=$(mktemp -d)
|
||||||
|
|
||||||
|
# Ensure all existing services are stopped when installing over an
|
||||||
|
# existing faasd installation
|
||||||
|
systemctl stop faasd || :
|
||||||
|
systemctl stop faasd-provider || :
|
||||||
|
systemctl stop containerd || :
|
||||||
|
killall -9 containerd-shim-runc-v2 || :
|
||||||
|
killall -9 faasd || :
|
||||||
|
|
||||||
# crane, or docker can also be used to download the OCI image and to extract it
|
# crane, or docker can also be used to download the OCI image and to extract it
|
||||||
|
|
||||||
# Rather than the :latest tag, a specific tag can be given
|
# Rather than the :latest tag, a specific tag can be given
|
||||||
|
Reference in New Issue
Block a user