mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Add service triggers to mail init
This commit is contained in:
parent
485a180286
commit
a2e69cfb26
1 changed files with 4 additions and 0 deletions
|
@ -57,4 +57,8 @@ start_service() {
|
|||
config_load mail
|
||||
config_foreach config_account smtp
|
||||
[ -f "/tmp/msmtp.tmp" ] && mv /tmp/msmtp.tmp /etc/msmtprc
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger mail
|
||||
}
|
Loading…
Reference in a new issue