[CentOS] CentOS 7 and systemd: SysV initscript: how detect boot vs. interactive use?

Sun Dec 18 10:58:44 UTC 2016
whitivery <co55-sy1t at dea.spamcon.org>

Moving from CentOS 5 to CentOS 7, discovered that a test in a SysV
initscript for whether it is running interactively, instead of at boot
time, no longer works.

Under CentOS 7 / systemd, is there some way for the initscript to know
this?