installer: final: Remove restart-service procedure.

* gnu/installer/final.scm (umount-cow-store): Remove "restart-service" that is
now provided by (gnu services herd).
This commit is contained in:
Mathieu Othacehe 2020-06-16 16:32:32 +02:00
parent e23ec7144c
commit 4febc38d9f
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -137,12 +137,6 @@ (define (umount-cow-store)
"Remove the store overlay and the bind-mount on /tmp created by the "Remove the store overlay and the bind-mount on /tmp created by the
cow-store service. This procedure is very fragile and a better approach would cow-store service. This procedure is very fragile and a better approach would
be much appreciated." be much appreciated."
;; Remove when integrated in (gnu services herd).
(define (restart-service name)
(with-shepherd-action name ('restart) result
result))
(catch #t (catch #t
(lambda () (lambda ()
(let ((tmp-dir "/remove")) (let ((tmp-dir "/remove"))