Merge pull request #330 from schiz0phr3ne/patch-1

Delete tarball after update
This commit is contained in:
tteckster 2022-07-10 12:08:26 -04:00 committed by GitHub
commit 678bb097ef
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
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