From 30f3411c6929397a20459e3be3454ce1b51649a6 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Mon, 3 May 2021 14:40:47 +0200 Subject: renaming bitwarden_rs to vaultwarden --- mkosi.postinst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'mkosi.postinst') diff --git a/mkosi.postinst b/mkosi.postinst index f2624e1..e475e99 100755 --- a/mkosi.postinst +++ b/mkosi.postinst @@ -14,12 +14,12 @@ echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-security main universe" echo "deb http://no.archive.ubuntu.com/ubuntu ${RELEASE}-updates main universe" >> /etc/apt/sources.list apt-get update && apt-get --yes full-upgrade && apt-get --yes autoremove -# set up bitwarden -mv /bitwarden_rs /usr/local/bin/ || echo "building" +# set up vaultwarden +mv /vaultwarden /usr/local/bin/ || echo "building" -mkdir /var/lib/bitwarden_rs /etc/bitwarden_rs -useradd -d /var/lib/bitwarden_rs --system bitwarden_rs -chown -R bitwarden_rs: /var/lib/bitwarden_rs /etc/bitwarden_rs -chmod 700 /var/lib/bitwarden_rs /etc/bitwarden_rs +mkdir /var/lib/vaultwarden /etc/vaultwarden +useradd -d /var/lib/vaultwarden --system vaultwarden +chown -R vaultwarden: /var/lib/vaultwarden /etc/vaultwarden +chmod 700 /var/lib/vaultwarden /etc/vaultwarden -systemctl enable bitwarden_rs +systemctl enable vaultwarden -- cgit v1.2.3