services: tor: Rename activation procedure.

* gnu/services/networking.scm: Rename the procedure
tor-hidden-service-activation to tor-activation.
This commit is contained in:
Chris Marusich 2018-07-25 02:51:41 -07:00
parent 5dfd80e1c5
commit d973915e48
No known key found for this signature in database
GPG key ID: DD409A15D822469D

View file

@ -676,7 +676,7 @@ (define (tor-shepherd-service config)
(stop #~(make-kill-destructor)) (stop #~(make-kill-destructor))
(documentation "Run the Tor anonymous network overlay.")))))))) (documentation "Run the Tor anonymous network overlay."))))))))
(define (tor-hidden-service-activation config) (define (tor-activation config)
"Set up directories for Tor and its hidden services, if any." "Set up directories for Tor and its hidden services, if any."
#~(begin #~(begin
(use-modules (guix build utils)) (use-modules (guix build utils))
@ -721,7 +721,7 @@ (define tor-service-type
(service-extension account-service-type (service-extension account-service-type
(const %tor-accounts)) (const %tor-accounts))
(service-extension activation-service-type (service-extension activation-service-type
tor-hidden-service-activation))) tor-activation)))
;; This can be extended with hidden services. ;; This can be extended with hidden services.
(compose concatenate) (compose concatenate)