services: tor: Rename activation procedure.
authorChris Marusich <cmmarusich@gmail.com>
Wed, 25 Jul 2018 09:51:41 +0000 (02:51 -0700)
committerChris Marusich <cmmarusich@gmail.com>
Tue, 28 Aug 2018 07:14:24 +0000 (00:14 -0700)
* gnu/services/networking.scm: Rename the procedure
tor-hidden-service-activation to tor-activation.

gnu/services/networking.scm

index 66772e4..b7f2bfe 100644 (file)
@@ -676,7 +676,7 @@ HiddenServicePort ~a ~a~%"
                 (stop #~(make-kill-destructor))
                 (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."
   #~(begin
       (use-modules (guix build utils))
@@ -721,7 +721,7 @@ HiddenServicePort ~a ~a~%"
                        (service-extension account-service-type
                                           (const %tor-accounts))
                        (service-extension activation-service-type
-                                          tor-hidden-service-activation)))
+                                          tor-activation)))
 
                 ;; This can be extended with hidden services.
                 (compose concatenate)