summaryrefslogtreecommitdiff
path: root/user-notify/files/user_notify.uci
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-10-08 11:56:45 +0200
committerKarel Kočí <karel.koci@nic.cz>2020-10-08 11:56:45 +0200
commit464f5d8de44e832b05f4104fb51dbde5dd6e77ec (patch)
tree1156ce1c97478642fe22bdf81c7d44ef7825ff13 /user-notify/files/user_notify.uci
parent26edea6c1cb08dee516af1762381d9cafcb8f812 (diff)
downloadopenwrt-personal-pkgs-464f5d8de44e832b05f4104fb51dbde5dd6e77ec.tar.gz
openwrt-personal-pkgs-464f5d8de44e832b05f4104fb51dbde5dd6e77ec.tar.bz2
openwrt-personal-pkgs-464f5d8de44e832b05f4104fb51dbde5dd6e77ec.zip
user-notify: add to test new version
Diffstat (limited to 'user-notify/files/user_notify.uci')
-rw-r--r--user-notify/files/user_notify.uci27
1 files changed, 27 insertions, 0 deletions
diff --git a/user-notify/files/user_notify.uci b/user-notify/files/user_notify.uci
new file mode 100644
index 0000000..d654387
--- /dev/null
+++ b/user-notify/files/user_notify.uci
@@ -0,0 +1,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'