From 1ade7ffacf211aaa08bd40d986ef049a059b8984 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 18 Sep 2019 21:58:17 +0200 Subject: [PATCH] change source path --- README.md | 2 +- service.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8911ef9..7b0956e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ certtool --generate-self-signed --load-privkey ca.key --outfile ca.crt ``` or use the tool ./cert.py provided ``` -python cert.py -f output +python src/cert.py -f output ``` In the latter the "output" file will contain both private key and certificate; split the file and store them separately. diff --git a/service.nix b/service.nix index 7af1284..71e7420 100644 --- a/service.nix +++ b/service.nix @@ -6,7 +6,7 @@ let cfgPrivoxy = config.services.privoxy; cfg = cfgPrivoxy.tls-wrapper; - src = ./.; + package = ./.; action = pkgs.writeText "privoxy-tls.action" '' { +client-header-tagger{privoxy-tls-tagger} } @@ -190,7 +190,7 @@ in User = "privoxy-tls"; PrivateTmp = true; PermissionsStartOnly = true; - ExecStart = "${python}/bin/python ${src}/main.py -c ${configFile}"; + ExecStart = "${python}/bin/python ${package}/src/main.py -c ${configFile}"; }; preStart = '' if ! test -f ${dataDir}/ca.crt; then