
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28.02.2015 Cristian Rodríguez wrote:
Make the service of Type=notify , execute systemd-notify --ready when the task has completed and then exit 0; Make the display-manager.service start After=yourservice..
Forgive me if I ask: My setup seems to work with type=oneshot. What is the advantage of using notify? I just found descriptions, that this type exists, but found no advantages or disadvantages.
Note that if your service takes a while, it might timeout, so you need to adjust the timeouts accordingly, or better.. find a way that does not require this hack.
I thought "TimeoutSec=0" (or 600 or ...) was exactly for this kind of long running commands? What would be the other options, apart from not doing a backup that takes its time? ;-) Regards, Johannes - -- Lupin burst out laughing. `Sometimes you remind me a lot of James. He called it my 'furry little problem' in company. Many people were under the impression that I owned a badly behaved rabbit.´ (Remus Lupin in Harry Potter and the Half-Blood Prince) -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/ iEYEARECAAYFAlTxomIACgkQzi3gQ/xETbItRgCfUyaqbhkGmtbFuF+sZI4u+VHB s2EAniNweJoSxlHuOdzjI6BFemJ7b04N =j6t3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org