In the good old days you would use
chkconfig to see if a service was enabled for a run level. E.g.
chkconfig --list tgtd
However, now you're supposed to use
systemctl. But I can't get
systemctl to give a similarly succinct output as
Any suggestions on how you do so?