aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2021-05-03 14:40:47 +0200
committerDennis Eriksen <d@ennis.no>2021-05-03 14:40:47 +0200
commit30f3411c6929397a20459e3be3454ce1b51649a6 (patch)
treed5be0107263bc73a1b1a160545dccfaa26656f60 /mkosi.postinst
parentaim for more persistent logging. Set machine-id if you want more persistent l... (diff)
downloadmkosi-vaultwarden-30f3411c6929397a20459e3be3454ce1b51649a6.tar.gz
renaming bitwarden_rs to vaultwarden
Diffstat (limited to '')
-rwxr-xr-xmkosi.postinst14
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