change source path
This commit is contained in:
parent
a0923ae9dd
commit
1ade7ffacf
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user