Restarting services

Reindl Harald h.reindl at thelounge.net
Wed May 16 12:28:25 UTC 2012



Am 16.05.2012 14:18, schrieb Patrick O'Callaghan:
> F16
> 
> After a recent yum update, "needs-restarting" says that colord should be
> restarted. OK, let's see:
> 
> 1) pstree says that colord's parent is systemd
> 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
_________________________________

[root at rh:~]$ systemctl status colord.service
colord.service - Daemon for managing, installing and generating color profiles
          Loaded: loaded (/lib/systemd/system/colord.service; disabled)
          Active: active (running) since Wed, 16 May 2012 14:25:34 +0200; 15s ago
        Main PID: 12862 (colord)
          CGroup: name=systemd:/system/colord.service
                  └ 12862 /usr/libexec/colord

[root at rh:~]$ systemctl restart colord.service

[root at rh:~]$ systemctl status colord.service
colord.service - Daemon for managing, installing and generating color profiles
          Loaded: loaded (/lib/systemd/system/colord.service; disabled)
          Active: active (running) since Wed, 16 May 2012 14:25:57 +0200; 1s ago
        Main PID: 12884 (colord)
          CGroup: name=systemd:/system/colord.service
                  └ 12884 /usr/libexec/colord

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20120516/72f49ae4/attachment.sig>


More information about the users mailing list