diff options
author | Clément Lassieur <clement@lassieur.org> | 2018-08-16 19:07:33 +0200 |
---|---|---|
committer | Clément Lassieur <clement@lassieur.org> | 2018-08-16 19:23:29 +0200 |
commit | 8d4805ba2934e492524512aac8a95662f2cf97c7 (patch) | |
tree | bc6d4ab781ef71cf2f977d0052a41304d3a10751 /gnu/services | |
parent | 8f60e5338ab0ad38471ea429c1ad2f951e41d9d1 (diff) | |
download | guix-8d4805ba2934e492524512aac8a95662f2cf97c7.tar guix-8d4805ba2934e492524512aac8a95662f2cf97c7.tar.gz |
services: cuirass: Put data in /var/lib to avoid removal at boot.
Fixes <https://bugs.gnu.org/32330>.
* gnu/services/cuirass.scm (<cuirass-configuration>)[database]: Change default
from /var/run/cuirass/cuirass.db to /var/lib/cuirass/cuirass.db.
(cuirass-account): Change home directory from /var/run/<user> to
/var/lib/<user>.
Diffstat (limited to 'gnu/services')
-rw-r--r-- | gnu/services/cuirass.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm index 9c62080629..496b2d06c8 100644 --- a/gnu/services/cuirass.scm +++ b/gnu/services/cuirass.scm @@ -61,7 +61,7 @@ (interval cuirass-configuration-interval ;integer (seconds) (default 60)) (database cuirass-configuration-database ;string (file-name) - (default "/var/run/cuirass/cuirass.db")) + (default "/var/lib/cuirass/cuirass.db")) (port cuirass-configuration-port ;integer (port) (default 8081)) (host cuirass-configuration-host ;string @@ -131,7 +131,7 @@ (group cuirass-group) (system? #t) (comment "Cuirass privilege separation user") - (home-directory (string-append "/var/run/" cuirass-user)) + (home-directory (string-append "/var/lib/" cuirass-user)) (shell #~(string-append #$shadow "/sbin/nologin")))))) (define (cuirass-activation config) |