mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 06:08:37 +02:00
updating squid service
This commit is contained in:
parent
a757a93107
commit
194d638b8d
1 changed files with 15 additions and 3 deletions
|
@ -69,7 +69,11 @@
|
||||||
"-k" "reconfigure"
|
"-k" "reconfigure"
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
)
|
)
|
||||||
)#t))
|
#:pid-file #$pid-file
|
||||||
|
#:log-file #$log-file
|
||||||
|
#:user (passwd:uid (getpwnam "squid"))
|
||||||
|
#:group (passwd:gid (getpwnam "squid"))
|
||||||
|
)))
|
||||||
)
|
)
|
||||||
(shepherd-action
|
(shepherd-action
|
||||||
(name 'check-config)
|
(name 'check-config)
|
||||||
|
@ -80,7 +84,11 @@
|
||||||
"-k" "parse"
|
"-k" "parse"
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
)
|
)
|
||||||
)#t))
|
#:pid-file #$pid-file
|
||||||
|
#:log-file #$log-file
|
||||||
|
#:user (passwd:uid (getpwnam "squid"))
|
||||||
|
#:group (passwd:gid (getpwnam "squid"))
|
||||||
|
)))
|
||||||
)
|
)
|
||||||
(shepherd-action
|
(shepherd-action
|
||||||
(name 'kill)
|
(name 'kill)
|
||||||
|
@ -91,7 +99,11 @@
|
||||||
"-k" "kill"
|
"-k" "kill"
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
)
|
)
|
||||||
)#t))
|
#:pid-file #$pid-file
|
||||||
|
#:log-file #$log-file
|
||||||
|
#:user (passwd:uid (getpwnam "squid"))
|
||||||
|
#:group (passwd:gid (getpwnam "squid"))
|
||||||
|
)))
|
||||||
)
|
)
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue