summaryrefslogtreecommitdiff
path: root/user-notify/files/user_notify.uci
blob: d654387151a2ec9c38301e1c918c1f202e4e15bc (plain)
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
package 'user_notify'

config smtp smtp
	option enable 0
	option use_turris_smtp 1
	option sender_name 'turris'
	#option from 'router@example.com'
	#option server 'example.com'
	#option port 465
	#option username 'router'
	#option password '1234'
	#option security 'ssl' # or 'starttls' or 'none'
	#list to 'user@example.com'

config notifications notifications
	# 1: restarts
	# 2: restarts and errors
	# 3: restarts, errors and updates
	option severity 1
	# Send news severity
	option news 1

config reboot reboot
	# Days, how long to wait before reboot (only if notifications are enabled)
	option delay 3
	# If present, schedule the reboot to specified time
	option time '03:30'