Restarting services
Patrick O'Callaghan
pocallaghan at gmail.com
Wed May 16 15:45:08 UTC 2012
On Wed, May 16, 2012 at 7:58 AM, Reindl Harald <h.reindl at thelounge.net>wrote:
> > 2) "systemctl list-units" doesn't mention colord
>
> it does and "systemctl restart colord.service" works
> like for any other service
>
> [root at 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 at bree:~] /bin/systemctl --no-pager --full list-units | grep colord
[poc at bree:~]
However the process exists:
[poc at bree:~] pgrep -fl colord
2214 /usr/libexec/colord
Although it appears to be dead:
[poc at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120516/1f943815/attachment.html>
More information about the users
mailing list