summaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-10-20 11:08:21 +0200
committerdennis <dennis@mrslave>2019-10-20 11:08:21 +0200
commit6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35 (patch)
tree1c3bb850d267e4c360cc835dba7ae1642028c081 /mkosi.nspawn
downloadmkosi-sabnzbd-6d2b65b1d071a35e64c2ba0b2f7b564d3fe08c35.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..328e350
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,15 @@
+[Exec]
+Hostname=sabnzbd
+ResolvConf=copy-host
+Timezone=copy
+PrivateUsers=false
+NoNewPrivilegs=yes
+
+[Files]
+#PrivateUsersChown=yes
+Bind=/var/local/sabnzbd:/config
+Bind=/srv/data/complete:/downloads
+Bind=/srv/data/incomplete:/incomplete-downloads
+
+[Network]
+VirtualEthernet=no