Re: systemd: how to list enabled services

2011-03-28 Thread Toshio Kuratomi
On Sat, Mar 26, 2011 at 12:06:47PM -0500, Ian Pilcher wrote: On 03/25/2011 11:30 PM, Toshio Kuratomi wrote: On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote: chkconfig --list | grep :on What is the systemd (systemctl equivalent)? ls

Re: systemd: how to list enabled services

2011-03-28 Thread Bill Nottingham
Ian Pilcher (arequip...@gmail.com) 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

Re: systemd: how to list enabled services

2011-03-28 Thread Toshio Kuratomi
On Mon, Mar 28, 2011 at 01:47:33PM -0400, Bill Nottingham wrote: Ian Pilcher (arequip...@gmail.com) 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

Re: systemd: how to list enabled services

2011-03-28 Thread Bill Nottingham
Toshio Kuratomi (a.bad...@gmail.com) said: 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. Not exactly. chkconfig --add doesn't change the state of the service, unless it hasn't been

Re: systemd: how to list enabled services

2011-03-27 Thread Henk Breimer
On Sat, 26 Mar 2011 13:40:00 -0400 Scott Robbins scot...@nyc.rr.com wrote: On Sat, Mar 26, 2011 at 12:06:47PM -0500, Ian Pilcher wrote: ls /etc/systemd/system/*.wants/frobozz.service https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet No. According to the

Re: systemd: how to list enabled services

2011-03-27 Thread Ian Pilcher
On 03/27/2011 06:26 AM, Henk Breimer wrote: Nobody seems to have found systemadm! Does it all Maybe I'm missing it, but I don't see any way to enable/disable services in systemadm. I finally settled on the following to list the status of all services: #!/bin/bash for SERVICE in

Re: systemd: how to list enabled services

2011-03-26 Thread Dennis Jacobfeuerborn
On 03/26/2011 05:30 AM, Toshio Kuratomi wrote: On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote: I'm in the habit of running chkconfig --list | grep :on to list all of the services that are enabled on my system (usually right after an installation, so I can disable all of

Re: systemd: how to list enabled services

2011-03-26 Thread Scott Robbins
On Sat, Mar 26, 2011 at 10:09:53AM -0400, Clyde E. Kunkel wrote: On 03/26/2011 12:05 AM, Ian Pilcher wrote: I'm in the habit of running chkconfig --list | grep :on to list all of the services that are enabled on my system (usually right after an installation, so I can disable all

Re: systemd: how to list enabled services

2011-03-26 Thread Ian Pilcher
On 03/26/2011 09:12 AM, Scott Robbins wrote: 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

Re: systemd: how to list enabled services

2011-03-26 Thread Ian Pilcher
On 03/25/2011 11:30 PM, Toshio Kuratomi wrote: On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote: chkconfig --list | grep :on What is the systemd (systemctl equivalent)? ls /etc/systemd/system/*.wants/frobozz.service

Re: systemd: how to list enabled services

2011-03-26 Thread Clyde E. Kunkel
On 03/26/2011 01:06 PM, Ian Pilcher wrote: On 03/25/2011 11:30 PM, Toshio Kuratomi wrote: On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote: chkconfig --list | grep :on What is the systemd (systemctl equivalent)? ls /etc/systemd/system/*.wants/frobozz.service

Re: systemd: how to list enabled services

2011-03-26 Thread Scott Robbins
On Sat, Mar 26, 2011 at 12:06:47PM -0500, Ian Pilcher wrote: ls /etc/systemd/system/*.wants/frobozz.service https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet No. According to the cheatsheet, that is the equivalent of: chkconfig frobozz --list I see, thanks

Re: systemd: how to list enabled services

2011-03-26 Thread Ian Pilcher
On 03/26/2011 12:18 PM, Clyde E. Kunkel wrote: systemctl list-units | grep active | more systemctl -t service [--full] list-units seems to actually get closest. -- Ian Pilcher

systemd: how to list enabled services

2011-03-25 Thread Ian Pilcher
I'm in the habit of running chkconfig --list | grep :on to list all of the services that are enabled on my system (usually right after an installation, so I can disable all of the stuff that I don't need). What is the systemd (systemctl equivalent)? Thanks! --

Re: systemd: how to list enabled services

2011-03-25 Thread Toshio Kuratomi
On Fri, Mar 25, 2011 at 11:05:21PM -0500, Ian Pilcher wrote: I'm in the habit of running chkconfig --list | grep :on to list all of the services that are enabled on my system (usually right after an installation, so I can disable all of the stuff that I don't need). What is the