[systemd-devel] yum-updateonboot with Systemd

Lennart Poettering lennart at poettering.net
Wed Jul 20 10:45:19 PDT 2011


On Wed, 20.07.11 09:45, Frank Murphy (frankly3d at gmail.com) wrote:

> I'm not a dev.
> 
> Previously posted to:
> http://lists.baseurl.org/pipermail/yum/2011-July/023700.html
> This may be a more correct list?
> 
> 
> Using yum-updateonboot with systemd on Fedora 15\16(Rawhide).
> 
> As yum-updateonboot is a service, (chkconfig)
> it calls both yum and creatrepo (with yum-plugin-local).
> Can both yum and createrepo then be considered services
> for the purposes of systemd?

You can make any process you like a systemd service.

> Example:
> /etc/systemd/system/systemd-user-sessions.service
> 
> [Unit]
> Description=Permit User Sessions
> After=local-fs.target remote-fs.target yum-updateonboot.service
> 
> even with this, boot still continues after doing some work
> would adding "After=yum.service createrepo.service" be any benefit.
> In allowing the whole yum-updateonboot  process to Complete!

Please elaborate what you are trying to do, provide some context. I have
trouble figuring out what you are trying to achieve.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list