GNU bug report logs -
#26830
Allow services to implement a 'reload' action
Previous Next
Full log
View this message in rfc822 format
* gnu/services/mail.scm (dovecot-shepherd-service): Add it.
---
gnu/services/mail.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 6305f06f8..db0772c47 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -1528,7 +1528,10 @@ greyed out, instead of only later giving \"not selectable\" popup error.
"-F" "-c" #$config-file)))
(stop #~(make-forkexec-constructor
(list (string-append #$dovecot "/sbin/dovecot")
- "-c" #$config-file "stop")))))))
+ "-c" #$config-file "stop")))
+ (reload #~(make-forkexec-constructor
+ (list (string-append #$dovecot "/bin/doveadm")
+ "-c" #$config-file "reload")))))))
(define %dovecot-pam-services
(list (unix-pam-service "dovecot")))
--
2.12.2
This bug report was last modified 3 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.