summaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-07-23 10:37:10 +0200
committerDennis Eriksen <d@ennis.no>2020-07-23 10:37:10 +0200
commitf834a0a262aff5f3c8b684e0f8362a8782c44132 (patch)
tree29079ba6e9a2a51e4f7c405f280f7b0e688522b1 /mkosi.nspawn
downloadmkosi-etherpad-f834a0a262aff5f3c8b684e0f8362a8782c44132.tar.gz
Initial commit
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r--mkosi.nspawn13
1 files changed, 13 insertions, 0 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
new file mode 100644
index 0000000..4abcc08
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,13 @@
+[Exec]
+Hostname=etherpad
+ResolvConf=copy-host
+Timezone=copy
+PrivateUsers=pick
+NoNewPrivileges=yes
+
+[Files]
+PrivateUsersChown=true
+BindReadOnly=/etc/etherpad/settings.json:/opt/etherpad/settings.json
+
+[Network]
+VirtualEthernet=no