Update alpine-vaultwarden-v5-install.sh

Tweak
This commit is contained in:
tteckster 2023-03-18 16:40:44 -04:00 committed by GitHub
parent ddd7664243
commit 3d15e5b026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -106,8 +106,8 @@ $STD apk add nano
$STD apk add mc $STD apk add mc
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing Vaultwarden" msg_info "Installing $APPLICATION"
$STD apk add --no-cache vaultwarden $STD apk add vaultwarden
cat <<EOF >/etc/conf.d/vaultwarden cat <<EOF >/etc/conf.d/vaultwarden
export DATA_FOLDER=/var/lib/vaultwarden export DATA_FOLDER=/var/lib/vaultwarden
export WEB_VAULT_FOLDER=/var/lib/vaultwarden/web-vault export WEB_VAULT_FOLDER=/var/lib/vaultwarden/web-vault
@ -117,7 +117,7 @@ export ROCKET_ADDRESS=0.0.0.0
EOF EOF
$STD rc-service vaultwarden start $STD rc-service vaultwarden start
$STD rc-update add vaultwarden default $STD rc-update add vaultwarden default
msg_ok "Installed Vaultwarden" msg_ok "Installed $APPLICATION"
echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd echo -e "$APPLICATION LXC provided by https://tteck.github.io/Proxmox/\n" > /etc/motd
if [[ "${SSH_ROOT}" == "yes" ]]; then if [[ "${SSH_ROOT}" == "yes" ]]; then