On Wed, May 16, 2012 at 7:58 AM, Reindl Harald <span dir="ltr"><<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> 2) "systemctl list-units" doesn't mention colord<br>
<br>
</div>it does and "systemctl restart colord.service" works<br>
like for any other service<br>
<br>
[root@rh:~]$ /bin/systemctl --no-pager --full list-units | grep colord<br>
colord-sane.service<br>
loaded active running Daemon for monitoring attached scanners and registering them with colord<br>
colord.service<br>
loaded active running Daemon for managing, installing and generating color profiles<br>
</blockquote></div><br>This is what I get:<br><br>[poc@bree:~] /bin/systemctl --no-pager --full list-units | grep colord<br>[poc@bree:~] <br><br>However the process exists:<br><br>[poc@bree:~] pgrep -fl colord<br>2214 /usr/libexec/colord<br>
<br>Although it appears to be dead:<br><br>[poc@bree:~] systemctl status colord.service<br>colord.service - Daemon for managing, installing and generating color profiles<br> Loaded: loaded (/lib/systemd/system/colord.service; disabled)<br>
Active: inactive (dead)<br> CGroup: name=systemd:/system/colord.service<br><br>Note that this after logging out and in again.<br><br>So now the questions now are:<br><br>1) How do I find out about a service managed by systemd independantly of whether it is currently running or not?<br>
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).<br><br>poc<br>