Delete tarball after update

This commit is contained in:
schiz0phr3ne authored and GitHub committed 2022-07-10 17:51:12 +02:00
1 parent 680e537e1b
commit 4dd4a926ab
1 file changed
+3
+3
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