Xiang Li
8ad7ed321e
*:godep log pkg
2015-06-11 14:22:14 -07:00
Xiang Li
865a5ffc61
pkg/osutil: use leveled log
2015-06-11 14:19:53 -07:00
Mateus Braga
cec8466ad2
osutil: fix InterruptHandler comment position
2015-04-04 11:32:42 -04:00
Xiang Li
7ae94f2bf0
osutil: pid 1 should exit directly instead of trying to kill itself
2015-02-19 20:27:50 -08:00
Xiang Li
e44dc0f3fe
osutil: fix win build
2015-02-13 16:33:39 -08:00
Fabian Reinartz
8bf795dc3c
etcdmain/osutil: shutdown gracefully, interrupt handling
...
The functionality in pkg/osutil ensures that all interrupt handlers finish
and the process kills itself with the proper signal.
Test for interrupt handling added.
The server shutsdown gracefully by stopping on interrupt (Issue #2277.)
2015-02-13 10:28:53 +01:00
Yicheng Qin
871e92ef73
pkg/osutil: add Unsetenv
...
go1.4 doesn't support static link well, so we stay in go1.3 for a while.
Implement Unsetenv in go1.3 way.
2015-02-04 10:29:20 -08:00