1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 13:40:36 +02:00
Files
guix/gnu/services
Ludovic Courtès 3302e03ba0 services: guix: Add 'set-http-proxy' action.
Fixes <https://bugs.gnu.org/25569>.
Reported by Divan Santana <divan@santanas.co.za>.

* gnu/services/base.scm (shepherd-set-http-proxy-action): New procedure.
(guix-shepherd-service): Add 'actions' field.  Change 'start' to a
lambda; check the value of the "http_proxy" environment variable and
add "http_proxy" and "https_proxy" to #:environment-variables as a
function of that.
* gnu/tests/base.scm (run-basic-test)["guix-daemon set-http-proxy
action", "guix-daemon set-http-proxy action, clear"]: New tests.
* doc/guix.texi (Base Services): Document it.
2020-04-07 12:31:36 +02:00
..
2019-06-06 22:23:35 +02:00
2019-05-25 15:58:03 +05:30
2019-06-07 09:57:19 +02:00
2020-03-03 15:00:32 +01:00
2020-01-06 16:31:54 +01:00
2019-03-13 23:12:43 +01:00
2019-11-28 13:30:53 +01:00
2020-02-02 10:42:16 +01:00
2020-02-19 04:08:55 +01:00