Delete tarball after update

This commit is contained in:
schiz0phr3ne 2022-07-10 17:51:12 +02:00 committed by GitHub
parent 680e537e1b
commit 4dd4a926ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,6 +42,9 @@ else
tar -zxf bw_web_$VWRELEASE.tar.gz -C /opt/vaultwarden/ &>/dev/null
fi
echo -e "${GN} Cleaning up... ${CL}"
rm bw_web_$VWRELEASE.tar.gz
echo -e "${GN} Starting Vaultwarden... ${CL}"
systemctl start vaultwarden.service
sleep 1