diff --git a/glicid/services/networking.scm b/glicid/services/networking.scm index 85a64fc..1b9b8ed 100644 --- a/glicid/services/networking.scm +++ b/glicid/services/networking.scm @@ -57,6 +57,7 @@ #:pid-file #$pid-file #:log-file #$log-file #:user (passwd:uid (getpwnam "squid")) + #:group (passwd:gid (getpwnam "squid")) )) (stop #~(lambda _ (exec-command (list @@ -69,6 +70,7 @@ #:pid-file #$pid-file #:log-file #$log-file #:user (passwd:uid (getpwnam "squid")) + #:group (passwd:gid (getpwnam "squid")) ))) (actions (list (shepherd-action @@ -85,6 +87,7 @@ #:pid-file #$pid-file #:log-file #$log-file #:user (passwd:uid (getpwnam "squid")) + #:group (passwd:gid (getpwnam "squid")) ))) ) (shepherd-action @@ -101,6 +104,7 @@ #:pid-file #$pid-file #:log-file #$log-file #:user (passwd:uid (getpwnam "squid")) + #:group (passwd:gid (getpwnam "squid")) ))) ) (shepherd-action @@ -117,6 +121,7 @@ #:pid-file #$pid-file #:log-file #$log-file #:user (passwd:uid (getpwnam "squid")) + #:group (passwd:gid (getpwnam "squid")) ))) ) )) @@ -145,6 +150,7 @@ (chown "/var/cache/squid" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid"))) (chown "/var/log/squid" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid"))) (chown "/var/spool/squid" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid"))) + (chown "/var/log/squid/squid.log" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid"))) (chown "/var/log/squid/squid_access.log" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid"))) (chown "/var/log/squid/squid_cache.log" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid"))) (chown "/var/log/squid/squid_cache_store.log" (passwd:uid (getpwnam "squid")) (passwd:gid (getpwnam "squid")))