Re: systemd: how to list enabled services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 28, 2011 at 01:47:33PM -0400, Bill Nottingham wrote:
> Ian Pilcher (arequipeno@xxxxxxxxx) said: 
> > > According to the wiki, chkconfig should work with systemd.  Doesn't it?
> > > 
> > > http://fedoraproject.org/wiki/Systemd#Does_chkconfig_command_work_with_systemd.3F
> > 
> > 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
chkconfig.

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
--add.

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

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

-Toshio

Attachment: pgpt9uvRMNdUp.pgp
Description: PGP signature

-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux