Frank Denis
8076e206e0
Revert "Install the windows service as "NT AUTHORITY\NetworkService""
...
This reverts commit 17db0a658f
.
On Windows, switching to user `NT AUTHORITY\NetworkService` apparently
breaks logging (reported by @Aland_123).
2019-03-14 20:10:53 +01:00
Frank Denis
17db0a658f
Install the windows service as "NT AUTHORITY\NetworkService"
...
Untested
Maybe
Fixes #686
2019-01-10 22:44:58 +01:00
Frank Denis
9f1be6e079
killChild() is not needed any more; update config example by the way
2018-10-03 16:35:59 +02:00
Sebastian Schmidt
33bcff7d4a
Minor improvements for the user_name option ( #559 )
...
* Fix missing pidfile when run with user_name opt.
* Make sure we are root when dropping privilege
This is required on macOS.
* Kill child process on exit. Fixes https://github.com/jedisct1/dnscrypt-proxy/issues/547
2018-08-04 00:57:52 +02:00
Sebastian Schmidt
aab7e6380f
Drop privileges with exec ( #467 )
...
* Drop privileges with exec and SysProcAttr
* Fix windows build
* Fix passing logfile fd
2018-06-13 16:52:41 +02:00