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
1 changed files with 3 additions and 0 deletions

View File

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