# not actually YAML but lets pretend:
# -*- mode: yaml -*-
# vim: ft=yaml:

# 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: 8086, 3939  # 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:				USERNAME & PASSWORD EXAMPLE == KewlSokudo: killbens123 
[accounts]
  Nonxisting: montana

# create volumes:

# share a folder called "downloads" located at "C:/Users/Bret/Downloads"
# (this will replace any folder called "music" in the webroot)
[/downloads]
  C:/Users/Bret/Downloads
  accs:
    r: *				# anyone can read the contents of "downloads
	rwm: Nonxisting		# user "Nonxisting" can (r)ead, (w)rite, and (m)ove + rename
	a: Nonxisting		# user "Nonxisting" has admin access to the control panel and other settings (this can be anywhere apparently)

# and a folder called "uploads", located at "X:/-Uploads" where anyone can upload, but nobody can see the contents
[/uploads]
  X:/-Uploads 
  accs:
    w: *	# anyone can write
  flags:
    e2d     # the e2d volflag enables the uploads database
    nodupe  # the nodupe volflag rejects duplicate uploads
    # (see --help-flags for all available volflags to use)
