diff options
-rw-r--r-- | gnu/services/mcron.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/services/mcron.scm b/gnu/services/mcron.scm index a2bc1a5553..b56e1e18c2 100644 --- a/gnu/services/mcron.scm +++ b/gnu/services/mcron.scm @@ -23,7 +23,7 @@ #:use-module ((gnu services configuration) #:select (define-configuration/no-serialization)) #:use-module (gnu services shepherd) - #:use-module (gnu system setuid) + #:use-module (gnu system privilege) #:use-module (gnu packages guile-xyz) #:use-module ((guix packages) #:select (package?)) #:use-module (guix records) @@ -249,9 +249,9 @@ files." (const #~(mkdir-p "/var/cron/tabs"))) (define (cron-daemon-setuid-programs config) - (list (file-like->setuid-program - (file-append (cron-daemon-configuration-cron config) - "/sbin/crontab-access")))) + (list (privileged-program + (program (file-append (cron-daemon-configuration-cron config) + "/sbin/crontab-access"))))) (define cron-daemon-service-type (service-type (name 'cron-daemon) @@ -262,7 +262,7 @@ files." cron-daemon-shepherd-services) (service-extension activation-service-type cron-daemon-activation) - (service-extension setuid-program-service-type + (service-extension privileged-program-service-type cron-daemon-setuid-programs))) (default-value (cron-daemon-configuration)))) |