aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2020-01-19 20:39:49 +0100
committerDennis Eriksen <d@ennis.no>2020-01-19 20:39:49 +0100
commit9907b46a6be804d4916af03d59826b8bbaf8c09f (patch)
treef22bb506da0c8464384551c52879523f22410f98 /mkosi.nspawn
downloadmkosi-ffsync-9907b46a6be804d4916af03d59826b8bbaf8c09f.tar.gz
Initial commit
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r--mkosi.nspawn14
1 files changed, 14 insertions, 0 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
new file mode 100644
index 0000000..69ad9e9
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,14 @@
+[Exec]
+Hostname=ffsync
+ResolvConf=copy-host
+Timezone=copy
+PrivateUsers=pick
+NoNewPrivileges=yes
+
+[Files]
+PrivateUsersChown=yes
+BindReadOnly=/etc/ffsync/syncserver.ini:/ffsync/syncserver.ini
+
+[Network]
+VirtualEthernet=no
+