updating squid service

This commit is contained in:
Jean-François GUILLAUME 2022-05-13 11:39:05 +02:00
parent a757a93107
commit 194d638b8d

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"))
)))
)
))
)