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 chkconfig
.
Any suggestions on how you do so?
Asked by Snowcrash
(779 rep)
Feb 7, 2017, 12:34 PM
Last activity: Mar 4, 2017, 06:43 PM
Last activity: Mar 4, 2017, 06:43 PM