core/service: don't give ExecStopPost= commands tty access
authorMike Yuan <me@yhndnzj.com>
Sun, 4 Feb 2024 11:34:16 +0000 (19:34 +0800)
committerMike Yuan <me@yhndnzj.com>
Sun, 4 Feb 2024 16:47:07 +0000 (00:47 +0800)
commitfe760177fe0c1d272f395c2fa144ec37194d80fa
tree5d94759f48dbf437e183fca2a517159468c2029c
parent81006ebbd70f16f41b8717e3a3d383ad79bbf1cd
core/service: don't give ExecStopPost= commands tty access

All tasks spawned later than ExecStart= (e.g. ExecReload=, ExecStop=, ...)
don't get tty access. ExecStopPost= is the odd one out. Fix that.
src/core/service.c