unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob 2ff5a36ef2375e14f099edd7e526af605a765786 807 bytes (raw)
name: gnu/services/nfs.scm 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
 
(define-module (gnu services nfs)
  #:use-module (gnu)
  #:use-module (gnu services shepherd)
  #:use-module (gnu packages onc-rpc)
  #:use-module (guix)
  #:export (rpc-service))

(define (rpc-shepherd-service config) ; Config is ignored
  (list (shepherd-service
         (provision '(rpc-daemon))
         (requirement '(networking))
         (start #~(make-forkexec-constructor
                   (list (string-append #$rpcbind "/bin/rpcbind") "-d" "-f")))
         (stop #~(make-kill-destructor)))))

(define rpc-service-type
  (service-type
   (name 'rpc)
   (extensions (list (service-extension shepherd-root-service-type
                                        rpc-shepherd-service)))))

(define* (rpc-service config)
  "Run the rpc daemon. Config is ignored."
  (service rpc-service-type config))


debug log:

solving 2ff5a36 ...
found 2ff5a36 in https://yhetil.org/guix-devel/1472884782-27956-1-git-send-email-jmd@gnu.org/

applying [1/1] https://yhetil.org/guix-devel/1472884782-27956-1-git-send-email-jmd@gnu.org/
diff --git a/gnu/services/nfs.scm b/gnu/services/nfs.scm
new file mode 100644
index 0000000..2ff5a36

Checking patch gnu/services/nfs.scm...
1:31: new blank line at EOF.
+
Applied patch gnu/services/nfs.scm cleanly.
warning: 1 line adds whitespace errors.

index at:
100644 2ff5a36ef2375e14f099edd7e526af605a765786	gnu/services/nfs.scm

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).