Fabien Ninoles
d6cc8895ca
Update based on PR request.
2018-04-17 13:43:04 -04:00
Fabien Ninoles
7023b63ffa
- Clean up for windows compilation.
...
- Set CREATE_NEW_PROCESS_GROUP for Windows subprocess.
- Ensure we only kill actual process that need to.
2018-04-14 13:58:42 -04:00
Marcin Matlaszek
963c10e584
Fix errors when trying to kill whole process group.
2018-03-20 13:40:21 +01:00
Marcin Matlaszek
76a8978c3e
Make starting & cleaning process group Windows compatible.
2018-03-20 13:40:21 +01:00
Hynek Schlawack
96c9f9dd02
Fix typos
2017-06-16 16:10:12 +02:00
Michael Schurter
de7351b959
Move chroot building into TaskRunner
...
* Refactor AllocDir to have a TaskDir struct per task.
* Drivers expose filesystem isolation preference
* Fix lxc mounting of `secrets/`
2017-01-05 16:31:49 -08:00
Alex Dadgar
358c43333d
Send Executor Ctx separately
2016-10-12 11:35:29 -07:00
Michal Wieczorek
78eaeafc15
Enable syslog server and universal collector for windows
2016-09-05 00:26:36 +02:00
Sean Chittenden
46a2d5de0b
Revert making UniversalExecutor.wait() platform specific
2016-05-08 00:13:28 -07:00
Sean Chittenden
68bdd67544
Build checks per-platform
2016-05-07 11:18:13 -07:00
Sean Chittenden
bfa8284531
Prefer golang.org/x/sys/unix where appropriate
...
Favor the `unix` package on *NIX platforms vs the now frozen `syscall` package.
2016-05-07 11:01:45 -07:00
Sean Chittenden
9cb16b5b9e
Explicitly enumaret the build targets in _unix
...
`!windows` was being used as the synonym for `darwin dragonfly freebsd linux netbsd openbsd solaris`. While I don't imagine `android` will be a prime target for Nomad in the near term, favor explicit build targets.
List of build targets generated by Go 1.7's dist command: `go tool dist list | sort | cut -d '/' -f 1 | sort | uniq`
2016-05-07 10:42:01 -07:00
Sean Chittenden
146c4e8fd6
Rename from posix to unix to parallel x/sys/unix
...
Use the `_unix` file suffix to denote *NIX-like semantics in order to parallel the designation given by the package `golang.org/x/sys/unix`.
2016-05-07 10:33:43 -07:00