mirror of
https://gitlab.univ-nantes.fr/glicid-public/guix-glicid.git
synced 2025-04-30 14:18:38 +02:00
Merge branch 'devel' into 'main'
updating squid service See merge request glicid-public/guix-glicid!27
This commit is contained in:
commit
1fb94f2ef1
1 changed files with 2 additions and 43 deletions
|
@ -55,53 +55,12 @@
|
|||
"-f" #$config-file
|
||||
)
|
||||
#:pid-file #$pid-file
|
||||
#:log-file #$log-file
|
||||
;#:log-file #$log-file
|
||||
#:user (passwd:uid (getpwnam "squid"))
|
||||
#:group (passwd:gid (getpwnam "squid"))
|
||||
#:resource-limits '((nofile 16384 16384))
|
||||
))
|
||||
(stop #~(make-kill-destructor))
|
||||
; TODO: find out why actions are not working
|
||||
; (actions (list
|
||||
; (shepherd-action
|
||||
; (name 'reload)
|
||||
; (documentation "Reload the settings file from disk.")
|
||||
; (procedure #~(lambda _ (exec-command
|
||||
; (list
|
||||
; #$(file-append squid "/sbin/squid")
|
||||
; "-d" #$loglevel
|
||||
; "-N"
|
||||
; "-k" "reconfigure"
|
||||
; "-f" #$config-file
|
||||
; )
|
||||
; )#t))
|
||||
; )
|
||||
; (shepherd-action
|
||||
; (name 'check-config)
|
||||
; (documentation "Check the settings file from disk.")
|
||||
; (procedure #~(lambda _ (exec-command
|
||||
; (list
|
||||
; #$(file-append squid "/sbin/squid")
|
||||
; "-d" #$loglevel
|
||||
; "-N"
|
||||
; "-k" "parse"
|
||||
; "-f" #$config-file
|
||||
; )
|
||||
; )#t))
|
||||
; )
|
||||
; (shepherd-action
|
||||
; (name 'kill)
|
||||
; (documentation "Ultimatly kill the squid process.")
|
||||
; (procedure #~(lambda _ (exec-command
|
||||
; (list
|
||||
; #$(file-append squid "/sbin/squid")
|
||||
; "-d" #$loglevel
|
||||
; "-N"
|
||||
; "-k" "kill"
|
||||
; "-f" #$config-file
|
||||
; )
|
||||
; )#t))
|
||||
; )
|
||||
; ))
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue