aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.postinst
blob: 6cd53343951886891ba6f34a9a0f43225d033771 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
mv /bitwarden_rs/bitwarden_rs /usr/local/bin/

mkdir /var/lib/bitwarden_rs
useradd -d /var/lib/bitwarden_rs --system bitwarden_rs
chown -R bitwarden_rs: /var/lib/bitwarden_rs

systemctl enable bitwarden_rs