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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux