chiark / gitweb /
units: exclude gettys from isolate requests
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Apr 2012 19:58:33 +0000 (21:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Apr 2012 20:37:48 +0000 (22:37 +0200)
commit4771148bb92ace55eaa6759a53d04a0f2de9b0d2
tree707cf0e315e3e67d54a14af69e7ffc47c7e60f7d
parent4590cfe4551c6be80274583019be7a79dca70b43
units: exclude gettys from isolate requests

gettys are nowadays mostly autospawned and hence usually subject to
being shut down on isolate requests, since they are no dependency of any
other unit. This is a bad idea if the user isolates between
multi-user.graphical and graphical.target, hence exclude them from the
isolation.

This has the effect that gettys no longer cleaned up when
emergency.target is isolated, which might actualy be considered a
feature, even though it is a change from previous behaviour...

Note that the one getty that really matters (the one on tty1) is still
removed when isolating to emergency.target since it conflicts with
emergency.service.
TODO
units/getty@.service.m4
units/serial-getty@.service.m4