You are not logged in.
Yes, this is what i need.
Profile-sync-daemon's service, if loaded during startup, takes 15-18seconds.
While if i load it during my x session, when my hd is relaxed, it takes 2 - 6 seconds.
So i was looking for understanding how to "sleep 30" (may be?) that service and make it execute after i login. (Because it is not a service i need at once, but i need it as soon as i start my chromium, so it is not relevant during bootup)
Can anyone give me any suggestions?
Thanks a lot.
Last edited by nierro (2012-06-01 22:14:23)
Offline
have a look at "man systemd.timer" -> OnBootSec= / OnStartupSec=
Offline
Yes, this is what i need.
Profile-sync-daemon's service, if loaded during startup, takes 15-18seconds.
While if i load it during my x session, when my hd is relaxed, it takes 2 - 6 seconds.
So i was looking for understanding how to "sleep 30" (may be?) that service and make it execute after i login. (Because it is not a service i need at once, but i need it as soon as i start my chromium, so it is not relevant during bootup)
Can anyone give me any suggestions?
Thanks a lot.
Perhaps you could start it after the X session is running (aka make it depend on X)?
Offline
thanks!
I created psd.timer with following content:
[Timer]
OnStartupSec=25
But:
systemctl enable psd.timer
Warning: unit files do not carry install information. No operation executed.
Offline
thanks!
I created psd.timer with following content:[Timer] OnStartupSec=25
But:
systemctl enable psd.timer Warning: unit files do not carry install information. No operation executed.
add
[Install]
WantedBy=multi-user.target
...or just symlink it manually into /etc/systemd/system/multi-user.target.wants/
and don't forget to disable the actual psd.service
Offline
Ok thanks
Sorry, my first day with systemd
Thank you very much!
Offline