service files help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Trying to create a service file for yum-updateonboot
(called it yumboot.service)
I use network (NO NM)
No plymouth (or rhgb quiet)

How can I get the output from the following
to appear on the Monitor durin bootup screen.
I mean similar to what is seen when
yum update is typed in console,
and then let booup wait for yum update to finish.
(the info I want on screen is in "journalctl")
but how to for Monitor.



~$ cat /etc/systemd/system/yumboot.service
[Unit]
Description=YUM Updateonboot
After=network.service
Before=desktop.service 
ConditionPathExists=/etc/sysconfig/yum-updateonboot

[Service]
Type=oneshot
ExecStart=/usr/bin/yum-updateonboot start 

[Install]
WantedBy=multi-user.target


~$ systemctl status yumboot.service
yumboot.service - YUM Updateonboot
	  Loaded: loaded (/etc/systemd/system/yumboot.service;
enabled) Active: inactive (dead) since Sun 2013-03-17 17:35:33 GMT;
11min ago Main PID: 1066 (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/yumboot.service

-- 
Regards,
Frank
http//www.frankly3d.com
-- 
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