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>.
This commit is contained in:
parent
8f60e5338a
commit
8d4805ba29
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user