Commit Graph

10 Commits

Author SHA1 Message Date
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 b886585486 Remove unused var 2019-01-02 22:59:16 +01:00
Alexey Ivanov 1cf7ce94ba Fixed error reporting (#671) 2018-12-23 18:10:14 +01:00
Frank Denis e4a1245fb2 user.Current() fails when CGO is disabled and USER/HOME are not defined
So, ignore it if it fails.

This used to happen on Linux; not sure about other systems.

Fixes #607
2018-10-08 17:48:05 +02:00
Frank Denis b81a72cc3e Fix 16f1f8b71d 2018-10-05 01:06:44 +02:00
Frank Denis 16f1f8b71d If syscall.Exec() fails, print why 2018-10-05 00:48:17 +02:00
Frank Denis 772c8d0e6c user.Lookup() may not be available on some platforms
So, explain what's going on, support numeric ids, try to be a bit
more friendly to these platforms
2018-10-03 17:57:39 +02:00
Frank Denis 9f1be6e079 killChild() is not needed any more; update config example by the way 2018-10-03 16:35:59 +02:00
Frank Denis a74c0fedeb Of course, Linux has to do things differently 2018-10-03 16:33:33 +02:00