services: MySQL: Fix indentation.
* gnu/services/databases.scm (mysql-upgrade-wrapper): Adjust indentation.master
parent
383c51ca0f
commit
3cf19b83d6
|
@ -576,14 +576,14 @@ FLUSH PRIVILEGES;
|
||||||
;; The socket is ready!
|
;; The socket is ready!
|
||||||
(execl mysql-upgrade mysql-upgrade
|
(execl mysql-upgrade mysql-upgrade
|
||||||
(string-append "--socket=" #$socket-file))))
|
(string-append "--socket=" #$socket-file))))
|
||||||
(lambda args
|
(lambda args
|
||||||
(if (< i timeout)
|
(if (< i timeout)
|
||||||
(begin
|
(begin
|
||||||
(sleep 1)
|
(sleep 1)
|
||||||
(loop (+ 1 i)))
|
(loop (+ 1 i)))
|
||||||
;; No luck, give up.
|
;; No luck, give up.
|
||||||
(throw 'timeout-error
|
(throw 'timeout-error
|
||||||
"MySQL server did not appear in time!"))))))))))
|
"MySQL server did not appear in time!"))))))))))
|
||||||
|
|
||||||
(define (mysql-upgrade-shepherd-service config)
|
(define (mysql-upgrade-shepherd-service config)
|
||||||
(list (shepherd-service
|
(list (shepherd-service
|
||||||
|
|
Reference in New Issue