forked from LocalToasty/workspaces
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathworkspaces.toml
More file actions
74 lines (58 loc) · 2.6 KB
/
workspaces.toml
File metadata and controls
74 lines (58 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
## Example /etc/workspaces/workspaces.toml configuration file
##
## Adapt for own use.
## Default filesystem to use if none is specified
#default_filesystem = "bulk"
## Location of workspaces database.
##
## It may be convenient to set this to be on the device your workspaces will
## also reside on
#db_path = "/usr/local/lib/workspaces/workspaces.db"
## A definition of a filesystem named `bulk`
#[filesystems.bulk]
## The zpool[/volume] used as a base for the workspaces
#root = "hdd-zpool/ws"
## The maximum duration in days until expiry that can be specified when
## creating or extending datasets
#max_duration = 90
## The number of days after expiration upon which a workspace will be
## flagged for deletion
#expired_retention = 30
## Whether to make snapshots during maintainance
#snapshot = false
expiry_notifications = [-29, -25, -20, -10, 0, 7, 14]
## Whether the filesystem is disabled
##
## Workspaces cannot be created or extended on disabled filesystems.
#disabled = false
## Email notifications (SMTP)
##
## Recommended: submit via port 587 with STARTTLS (same as Thunderbird).
## - `relay` can be "host" or "host:port" (also supports "[IPv6]:port").
## - If `from` is omitted, `username` must be a valid email address and will be used as the sender.
## - `tls` is optional; "starttls" (default) or "wrapper" (implicit TLS on 465).
## - `auth` is optional; set to "login" or "plain" to force a mechanism, otherwise it auto-negotiates.
## - Usernames with backslashes: either use single-quoted literal strings (no escaping)
## or escape the backslash in double quotes.
## Example: # username = 'DOMAIN\svc-workspaces' # literal (preferred)
## # username = "DOMAIN\\svc-workspaces" # basic string with escaping
##
## To enable SMTP, uncomment this whole section and adjust values.
#[smtp]
## Relay hostname (optionally with port). For submission with STARTTLS, use :587.
#relay = "smtp.example.org:587"
## SMTP login name. See backslash note above.
#username = 'DOMAIN\svc-workspaces'
## SMTP password.
#password = "supersecret"
## Optional visible From address; set this if your login is NOT a valid email or
## if you want a nicer sender display. If omitted, falls back to `username`.
#from = "Workspaces Notifier <workspaces-noreply@example.org>"
## Optional TLS mode: "starttls" (default) for port 587, or "wrapper" for implicit TLS (port 465).
#tls = "starttls"
## If using wrapper/implicit TLS, you can also set:
## #relay = "smtp.example.org:465"
## #tls = "wrapper"
## Optional: force the auth mechanism. Allowed values: "login", "plain".
## If unset, the client will auto-negotiate.
#auth = "login"