[systemd-devel] Have timers fire after boot is complete

Christian Seiler christian at iwakd.de
Thu Sep 27 05:48:59 PDT 2012

> If you want to run a script in the very end of everything you simply
> order it after the default target as in
> [Unit]
> Description=My custom script
> After=default.target
> [Service]
> Type=oneshot
> ExecStart=/path/to/my/custom/script
> [Install]
> WantedBy=default.target

Hmmm, I remember vaguely that this didn't produce the desired results
for some people and that there's a reason why Fedora's rc-local.service
only uses the SysVPriority=99 hack and not After=default.target.

But perhaps I'm wrong, I'll look into that.


More information about the systemd-devel mailing list