Run not-on-console services in a session (via setsid()).
authorDavin McCall <davmac@davmac.org>
Thu, 10 Nov 2016 02:34:32 +0000 (02:34 +0000)
committerDavin McCall <davmac@davmac.org>
Thu, 10 Nov 2016 02:34:32 +0000 (02:34 +0000)
commita8f03b17e4f0dce8961227a7e2cfc970c9e54b7c
tree462139f0f32a81276faa03b45d71f312910a5f8c
parent2a58b4e90523a77a7f6877d350718c838f2eec5d
Run not-on-console services in a session (via setsid()).

This prevents them from receiving terminal control signals, if
dinit is running on a terminal (normally only if run in user
mode).
src/service.cc