services: postgresql: Wrap long lines.
* gnu/services/databases.scm: Wrap long lines, no functional change.
This commit is contained in:
		
							parent
							
								
									fe4b882350
								
							
						
					
					
						commit
						33687aa3d0
					
				
					 1 changed files with 19 additions and 13 deletions
				
			
		| 
						 | 
					@ -194,7 +194,9 @@ host	all	all	::1/128 	md5"))
 | 
				
			||||||
         #:builder
 | 
					         #:builder
 | 
				
			||||||
         (begin
 | 
					         (begin
 | 
				
			||||||
           (use-modules (guix build utils) (guix build union) (srfi srfi-26))
 | 
					           (use-modules (guix build utils) (guix build union) (srfi srfi-26))
 | 
				
			||||||
           (union-build (assoc-ref %outputs "out") (map (lambda (input) (cdr input)) %build-inputs))
 | 
					           (union-build (assoc-ref %outputs "out")
 | 
				
			||||||
 | 
					                        (map (lambda (input) (cdr input))
 | 
				
			||||||
 | 
					                             %build-inputs))
 | 
				
			||||||
           #t)))
 | 
					           #t)))
 | 
				
			||||||
      (inputs
 | 
					      (inputs
 | 
				
			||||||
       `(("postgresql" ,postgresql)
 | 
					       `(("postgresql" ,postgresql)
 | 
				
			||||||
| 
						 | 
					@ -306,7 +308,8 @@ host	all	all	::1/128 	md5"))
 | 
				
			||||||
              (stop (action "stop"))))))))
 | 
					              (stop (action "stop"))))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define postgresql-service-type
 | 
					(define postgresql-service-type
 | 
				
			||||||
  (service-type (name 'postgresql)
 | 
					  (service-type
 | 
				
			||||||
 | 
					   (name 'postgresql)
 | 
				
			||||||
   (extensions
 | 
					   (extensions
 | 
				
			||||||
    (list (service-extension shepherd-root-service-type
 | 
					    (list (service-extension shepherd-root-service-type
 | 
				
			||||||
                             postgresql-shepherd-service)
 | 
					                             postgresql-shepherd-service)
 | 
				
			||||||
| 
						 | 
					@ -314,17 +317,20 @@ host	all	all	::1/128 	md5"))
 | 
				
			||||||
                             postgresql-activation)
 | 
					                             postgresql-activation)
 | 
				
			||||||
          (service-extension account-service-type
 | 
					          (service-extension account-service-type
 | 
				
			||||||
                             (const %postgresql-accounts))
 | 
					                             (const %postgresql-accounts))
 | 
				
			||||||
                       (service-extension profile-service-type
 | 
					          (service-extension
 | 
				
			||||||
 | 
					           profile-service-type
 | 
				
			||||||
           (compose list postgresql-configuration-postgresql))))))
 | 
					           (compose list postgresql-configuration-postgresql))))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-deprecated (postgresql-service #:key (postgresql postgresql)
 | 
					(define-deprecated (postgresql-service #:key (postgresql postgresql)
 | 
				
			||||||
                                       (port 5432)
 | 
					                                       (port 5432)
 | 
				
			||||||
                                       (locale "en_US.utf8")
 | 
					                                       (locale "en_US.utf8")
 | 
				
			||||||
                                       (config-file (postgresql-config-file))
 | 
					                                       (config-file (postgresql-config-file))
 | 
				
			||||||
                                       (data-directory "/var/lib/postgresql/data")
 | 
					                                       (data-directory
 | 
				
			||||||
 | 
					                                        "/var/lib/postgresql/data")
 | 
				
			||||||
                                       (extension-packages '()))
 | 
					                                       (extension-packages '()))
 | 
				
			||||||
  postgresql-service-type
 | 
					  postgresql-service-type
 | 
				
			||||||
  "Return a service that runs @var{postgresql}, the PostgreSQL database server.
 | 
					  "Return a service that runs @var{postgresql}, the PostgreSQL database
 | 
				
			||||||
 | 
					server.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
The PostgreSQL daemon loads its runtime configuration from @var{config-file}
 | 
					The PostgreSQL daemon loads its runtime configuration from @var{config-file}
 | 
				
			||||||
and stores the database cluster in @var{data-directory}."
 | 
					and stores the database cluster in @var{data-directory}."
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue