From 194d638b8d42e882334032cf31db675babf7440e Mon Sep 17 00:00:00 2001 From: JEAN-FRANCOIS GUILLAUME Date: Fri, 13 May 2022 11:39:05 +0200 Subject: [PATCH] updating squid service --- glicid/services/networking.scm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/glicid/services/networking.scm b/glicid/services/networking.scm index 5c69b47..7b70566 100644 --- a/glicid/services/networking.scm +++ b/glicid/services/networking.scm @@ -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")) + ))) ) )) )