summaryrefslogtreecommitdiff
path: root/copyparty
diff options
context:
space:
mode:
authorpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
committerpants <niklasjo2004@gmail.com>2026-09-21 14:16:02 -0700
commit40f81d08239763c2b5c05af63f17e3fd098d978d (patch)
treeb4475da076490a5fadc69904ad26bcf4ac46b9fc /copyparty
init
Diffstat (limited to 'copyparty')
-rw-r--r--copyparty/copyparty.conf51
1 files changed, 51 insertions, 0 deletions
diff --git a/copyparty/copyparty.conf b/copyparty/copyparty.conf
new file mode 100644
index 0000000..60a3bf9
--- /dev/null
+++ b/copyparty/copyparty.conf
@@ -0,0 +1,51 @@
+# append some arguments to the commandline;
+# accepts anything listed in --help (leading dashes are optional)
+# and inline comments are OK if there is 2 spaces before the '#'
+[global]
+ p: 8193 # listen on ports 8086 and 3939
+ e2dsa # enable file indexing and filesystem scanning
+ e2ts # and enable multimedia indexing
+ z, qr # and zeroconf and qrcode (you can comma-separate arguments)
+
+# create users:
+[accounts]
+ nik: baller
+ mitch: 408
+ dad: 98072
+
+# create volumes:
+[/wdraidz]
+ /wdraidz
+ accs:
+ rw: nik
+
+[/rootfs]
+ /
+ accs:
+ rw: nik
+
+# (this will replace any folder called "music" in the webroot)
+[/share]
+ /wdraidz/tank/share
+ accs:
+ rw: *
+
+# and a folder where anyone can upload, but nobody can see the contents
+[/dump]
+ /wdraidz/tank/dump
+ accs:
+ wG: *
+ flags:
+ e2d # the e2d volflag enables the uploads database
+ d2t
+ nodupe # the nodupe volflag rejects duplicate uploads
+ fk: 4
+ # (see --help-flags for all available volflags to use)
+
+# dvd video dir for father
+[/video]
+ /wdraidz/media/other/VOBs
+ accs:
+ r: dad
+ rw: nik
+