Having seen this in Xfce list: (non PK update notifier)
https://lists.fedoraproject.org/pipermail/xfce/2013-May/001886.html

The pythonscript in the link does work.
I figured could make a .service file for it.
(as a learning challenge)

### pyupdatesd.service ##########
# xfce updates-available icon
# Based on work pyupdatesd from kirsle

[Unit]
Description=Updates Available 
DefaultDependencies=no
Requires=graphical.target
After=graphical.target

[Service]
User=frank
Type=oneshot
Type=dbus
# BusName=org.freedesktop.PyUpdatesd
RemainAfterExit=yes
Environment=DISPLAY=:0
ExecStart=/etc/sysconfig/pyupdatesd 

[Install]
WantedBy=graphical.target

################################


# systemctl status pyupdatesd.service
pyupdatesd.service - Updates Available
   Loaded: loaded (/etc/systemd/system/pyupdatesd.service; enabled)
   Active: failed (Result: timeout) since Fri 2013-05-31 16:36:28
IST; 7s ago Main PID: 3804
   CGroup: name=systemd:/system/pyupdatesd.service

May 31 16:34:58 my.pc.here systemd[1]: Starting Updates
Available... May 31 16:36:28 my.pc.here systemd[1]:
pyupdatesd.service operation timed out. Terminating. May 31 16:36:28
my.pc.here systemd[1]: Failed to start Updates Available.
May 31 16:36:28 my.pc.here systemd[1]: Unit
pyupdatesd.service entered failed state



-- 
Regards,
Frank - I check for new mail app. 20min
www.frankly3d.com
-- 
users mailing list
users@lists.fedoraproject.org
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

Reply via email to