diff options
author | Dennis Eriksen <d@ennis.no> | 2021-05-03 14:40:47 +0200 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2021-05-03 14:40:47 +0200 |
commit | 30f3411c6929397a20459e3be3454ce1b51649a6 (patch) | |
tree | d5be0107263bc73a1b1a160545dccfaa26656f60 /mkosi.postinst | |
parent | aim for more persistent logging. Set machine-id if you want more persistent l... (diff) | |
download | mkosi-vaultwarden-30f3411c6929397a20459e3be3454ce1b51649a6.tar.gz |
renaming bitwarden_rs to vaultwarden
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 |