diff options
Diffstat (limited to '')
-rwxr-xr-x | mkosi.postinst | 14 |
1 files changed, 7 insertions, 7 deletions
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 |