Merge branch 'devel' into 'main'

updating squid service

See merge request glicid-public/guix-glicid!32
This commit is contained in:
Jean-François GUILLAUME 2022-05-13 09:42:08 +00:00
commit 55e936959f

View file

@ -69,7 +69,11 @@
"-k" "reconfigure"
"-f" #$config-file
)
)#t))
#:pid-file #$pid-file
#:log-file #$log-file
#:user (passwd:uid (getpwnam "squid"))
#:group (passwd:gid (getpwnam "squid"))
)))
)
(shepherd-action
(name 'check-config)
@ -80,7 +84,11 @@
"-k" "parse"
"-f" #$config-file
)
)#t))
#:pid-file #$pid-file
#:log-file #$log-file
#:user (passwd:uid (getpwnam "squid"))
#:group (passwd:gid (getpwnam "squid"))
)))
)
(shepherd-action
(name 'kill)
@ -91,7 +99,11 @@
"-k" "kill"
"-f" #$config-file
)
)#t))
#:pid-file #$pid-file
#:log-file #$log-file
#:user (passwd:uid (getpwnam "squid"))
#:group (passwd:gid (getpwnam "squid"))
)))
)
))
)