You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,6 +48,28 @@ If an option is not specified in the CLI, it is read from the headnode_notifier.
48
48
4. /path/to/password_file
49
49
50
50
51
+
* Config content:
52
+
53
+
```
54
+
[server]
55
+
address = smtp.gmail.com
56
+
port = 587
57
+
58
+
[mailbox]
59
+
address =
60
+
password_file =
61
+
```
62
+
63
+
64
+
* Config location: **$HOME**
65
+
66
+
67
+
* Config name:
68
+
69
+
```
70
+
.headnode_notifier.config
71
+
```
72
+
51
73
#### Password handling
52
74
53
75
In order to avoid storing the password anywhere in the script, it is read from file. You can specify the path using ```--password-file /path/to/file``` or in the config file. Remember that the **password file is plain text** so use the script with caution.
0 commit comments