services: cleanup: Remove "/run/udev/watch.old" directory.

* gnu/services.scm (cleanup-gexp): Remove "/run/udev/watch.old" directory.
This commit is contained in:
Danny Milosavljevic 2017-12-17 08:31:32 +01:00
parent bc3d607748
commit e25ca462e5
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -392,7 +392,8 @@ (define (cleanup-gexp _)
(mkdir "/tmp")
(chmod "/tmp" #o1777)
(mkdir "/var/run")
(chmod "/var/run" #o755))))))))
(chmod "/var/run" #o755)
(delete-file-recursively "/run/udev/watch.old"))))))))
(define cleanup-service-type
;; Service that cleans things up in /tmp and similar.