aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher McDowell <cmd-git@mcdowell.im>2019-11-20 22:10:34 +0100
committerChristopher McDowell <cmd-git@mcdowell.im>2019-11-20 22:10:34 +0100
commit421c1c82d90c4f11d4b56b63ac91d298fbe5fb7a (patch)
tree074df5e6a79a98e691c49fba4367185d2e8d7830
parentUpdating web-vault (diff)
downloadmkosi-bitwarden_rs-421c1c82d90c4f11d4b56b63ac91d298fbe5fb7a.tar.gz
Changed hostname due to systemd complaining about underscore, added an s to NoNewPrivileges to make it a valid parameter, mounting config as readonly
-rw-r--r--mkosi.nspawn6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
index 56981b6..15bec39 100644
--- a/mkosi.nspawn
+++ b/mkosi.nspawn
@@ -1,13 +1,13 @@
[Exec]
-Hostname=bitwarden_rs
+Hostname=bitwarden-rs
ResolvConf=copy-host
Timezone=copy
-NoNewPrivilege=yes
+NoNewPrivileges=yes
PrivateUsers=pick
[Files]
PrivateUsersChown=true
-Bind=/etc/bitwarden_rs/bitwarden_rs.env
+BindReadOnly=/etc/bitwarden_rs/bitwarden_rs.env
Bind=/var/local/bitwarden_rs/data:/var/lib/bitwarden_rs/data
[Network]