aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-10-19 10:38:21 +0200
committerDennis Eriksen <d@ennis.no>2019-10-19 10:38:21 +0200
commitdfa175a2386823a63fd5ce3172f7da89ca9b6f6d (patch)
tree7891e676330ca171493042ba09a136284de2a526 /mkosi.nspawn
downloadmkosi-filebin-dfa175a2386823a63fd5ce3172f7da89ca9b6f6d.tar.gz
initial commit
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r--mkosi.nspawn15
1 files changed, 15 insertions, 0 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
new file mode 100644
index 0000000..260f654
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,15 @@
+[Exec]
+Hostname=filebin
+ResolvConf=copy-host
+Timezone=copy
+PrivateUsers=pick
+NoNewPrivileges=yes
+
+[Files]
+PrivateUsersChown=yes
+Bind=/var/log/filebin/access.log
+Bind=/var/local/filebin/files:/var/lib/filebin/files
+
+[Network]
+VirtualEthernet=no
+