systemd: how to list enabled services

Toshio Kuratomi a.badger at
Mon Mar 28 18:38:03 UTC 2011

On Mon, Mar 28, 2011 at 01:47:33PM -0400, Bill Nottingham wrote:
> Ian Pilcher (arequipeno at said: 
> > > According to the wiki, chkconfig should work with systemd.  Doesn't it?
> > > 
> > >
> > 
> > Running "chkconfig --list" prints this warning:
> > 
> > Note: This output shows SysV services only and does not include native
> >       systemd services. SysV configuration data might be overriden by native
> >       systemd configuration.
> To be precise, the following commands in chkconfig have systemd integration:
> - on (to enable a service)
> - off (to disable a service)
> - <no command> (to check whether a single passed service is enabled)
Note that these are integrated into systemd but they change the behaviour of

on and off map to systemctl enable whereas chkconfig would set the service
on and off in certain runlevels.  So they're now more similar to chkconfig

The <no command> case doesn't check targets like chkconfig does with

People who are scripting with chkconfig are going to need to update their

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : 

More information about the test mailing list