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
b1b8b9d036
commit
086a91dfa5
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list
|
(list
|
||||||
#$(file-append squid "/sbin/squid")
|
#$(file-append squid "/sbin/squid")
|
||||||
|
"--foreground"
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
)
|
)
|
||||||
#:pid-file #$pid-file
|
#:pid-file #$pid-file
|
||||||
|
@ -53,6 +54,7 @@
|
||||||
(stop #~(exec-command
|
(stop #~(exec-command
|
||||||
(list
|
(list
|
||||||
#$(file-append squid "/sbin/squid")
|
#$(file-append squid "/sbin/squid")
|
||||||
|
"--foreground"
|
||||||
"-k" "shutdown"
|
"-k" "shutdown"
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
)
|
)
|
||||||
|
@ -66,6 +68,7 @@
|
||||||
(procedure #~(exec-command
|
(procedure #~(exec-command
|
||||||
(list
|
(list
|
||||||
#$(file-append squid "/sbin/squid")
|
#$(file-append squid "/sbin/squid")
|
||||||
|
"--foreground"
|
||||||
"-k" "reconfigure"
|
"-k" "reconfigure"
|
||||||
"-f" #$config-file
|
"-f" #$config-file
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue