Re: Restarting services

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

On Wed, May 16, 2012 at 7:58 AM, Reindl Harald <h.reindl@xxxxxxxxxxxxx> wrote:
> 2) "systemctl list-units" doesn't mention colord

it does and "systemctl restart colord.service" works
like for any other service

[root@rh:~]$ /bin/systemctl --no-pager --full list-units | grep colord
colord-sane.service
loaded active running       Daemon for monitoring attached scanners and registering them with colord
colord.service
loaded active running       Daemon for managing, installing and generating color profiles

This is what I get:

[poc@bree:~] /bin/systemctl --no-pager --full list-units | grep colord
[poc@bree:~]

However the process exists:

[poc@bree:~] pgrep -fl colord
2214 /usr/libexec/colord

Although it appears to be dead:

[poc@bree:~] systemctl status colord.service
colord.service - Daemon for managing, installing and generating color profiles
      Loaded: loaded (/lib/systemd/system/colord.service; disabled)
      Active: inactive (dead)
      CGroup: name=systemd:/system/colord.service

Note that this after logging out and in again.

So now the questions now are:

1) How do I find out about a service managed by systemd independantly of whether it is currently running or not?
2) Why does systemd say the service is inactive if the process is running? (note that I was able to restart it using systemctl and now it does appear as active).

poc
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Photo 4 Less

[Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Find Someone Special]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

Add to Google Powered by Linux