aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/mail.scm
diff options
context:
space:
mode:
authorW. Kosior <koszko@koszko.org>2024-09-04 15:32:11 +0200
committerW. Kosior <koszko@koszko.org>2024-09-04 21:02:05 +0200
commitf2b887c5c71ef520d08fd7238bb36a39daa7ea98 (patch)
tree0d7220cd89d8bce074cbfe21ff9c62c72b12892c /gnu/services/mail.scm
parent6128f1cf80e1bfda6bdc2338fcfff44b4f0285c6 (diff)
downloadguix-f2b887c5c71ef520d08fd7238bb36a39daa7ea98.tar.gz
guix-f2b887c5c71ef520d08fd7238bb36a39daa7ea98.zip
services: Update Exim service to use `privileged-program' API.
Uses of deprecated `setuid-program' get replaced with new `privileged-program'. * gnu/services/mail.scm (exim-setuids): Call `privileged-program' record constructor macro. (exim-service-type): Extend `privileged-program-service-type' Change-Id: Idb00e45ddcc50a37303dc50fe1feef73a109f219
Diffstat (limited to 'gnu/services/mail.scm')
-rw-r--r--gnu/services/mail.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/mail.scm b/gnu/services/mail.scm
index 7ba95a8241..392c5f6c44 100644
--- a/gnu/services/mail.scm
+++ b/gnu/services/mail.scm
@@ -1884,7 +1884,7 @@ database---computed from the given alias list.")))
(match-lambda
(($ <exim-configuration> package config-file setuid-user setgid-group)
(if (or setuid-user setgid-group)
- (list (setuid-program
+ (list (privileged-program
(program (file-append package "/bin/exim"))
(setuid? #t)
(user (or setuid-user "exim"))
@@ -1901,7 +1901,7 @@ database---computed from the given alias list.")))
(service-extension activation-service-type exim-activation)
(service-extension profile-service-type exim-profile)
(service-extension mail-aliases-service-type (const '()))
- (service-extension setuid-program-service-type exim-setuids)))
+ (service-extension privileged-program-service-type exim-setuids)))
(description "Run the Exim mail transfer agent (MTA).")))