mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-29 13:48:36 +02:00
correcting typo
This commit is contained in:
parent
1b1b357cd6
commit
06ef50aca3
1 changed files with 3 additions and 5 deletions
|
@ -4,8 +4,8 @@
|
||||||
#:use-module (gnu services)
|
#:use-module (gnu services)
|
||||||
#:use-module (gnu services shepherd)
|
#:use-module (gnu services shepherd)
|
||||||
#:use-module (guix records)
|
#:use-module (guix records)
|
||||||
#:use-module (gnu system shadow)
|
|
||||||
#:use-module (gnu system privilege)
|
#:use-module (gnu system privilege)
|
||||||
|
#:use-module (gnu system shadow)
|
||||||
#:use-module (ice-9 match)
|
#:use-module (ice-9 match)
|
||||||
#:use-module (glicid packages caddy)
|
#:use-module (glicid packages caddy)
|
||||||
#:export (%caddy-accounts
|
#:export (%caddy-accounts
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
(group "caddy")
|
(group "caddy")
|
||||||
(system? #t)
|
(system? #t)
|
||||||
(home-directory "/var/lib/caddy")
|
(home-directory "/var/lib/caddy")
|
||||||
(shell (file-append shadow "/sbin/nologin")))))
|
(shell (file-append bash "/bin/bash")))))
|
||||||
|
|
||||||
(define-record-type* <caddy-configuration> caddy-configuration
|
(define-record-type* <caddy-configuration> caddy-configuration
|
||||||
make-caddy-configuration
|
make-caddy-configuration
|
||||||
|
@ -68,12 +68,10 @@
|
||||||
(define %caddy-with-extensions-priv
|
(define %caddy-with-extensions-priv
|
||||||
(list
|
(list
|
||||||
(privileged-program
|
(privileged-program
|
||||||
(program (file-append caddy-dirty "/sbin/caddy"))
|
(program (file-append caddy-dirty-with-extensions "/sbin/caddy"))
|
||||||
(capabilities "cap_net_admin,cap_net_bind_service=+ep")
|
(capabilities "cap_net_admin,cap_net_bind_service=+ep")
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(define %caddy-activation
|
|
||||||
#~(begin
|
|
||||||
(define %caddy-activation
|
(define %caddy-activation
|
||||||
#~(begin
|
#~(begin
|
||||||
(chmod "/var/lib/caddy" #o0770)
|
(chmod "/var/lib/caddy" #o0770)
|
||||||
|
|
Loading…
Add table
Reference in a new issue