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.

Christian

_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to