Bug#744753: anacron: Anacron not triggered when system resumes under systemd

Michael Biebl biebl at debian.org
Tue Jun 3 04:56:50 BST 2014


Am 03.06.2014 05:43, schrieb Michael Biebl:

> I would simplify the first solution a bit though, and simply run a
> try-restart on post, i.e. something like this
> 
> #!/bin/bash
> [ "$1" = "post" ] && systemctl try-restart anacron.service

Actually, better make that restart instead of try-restart, since anacron
might have existed and the service being marked as inactive.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 884 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20140603/28ea59ff/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list