[arch-general] rc.local.shutdown equivalent in systemd
jnlson at gmx.com
Mon Jul 23 22:31:48 EDT 2012
On 07/23/12 20:10, Manolo Martínez wrote:
> I've decided to try systemd and see for myself. Anyway, I need to remove
> a module before shutdown, which rc.local.shutdown did nicely for me.
> I know there is an initscripts-systemd packages that would allow me to
> keep using rc.local.shutdown, but the wiki discourages its use and recommends instead
> using systemd native configuration files.
> Hence my question: what's the systemd native way to do stuff (in my
> case, remove a module) before shutdown?
Perhaps something like this?
Description=Unload module before shutdown
Haven't tried it, might not work, no guarantees, etc..
More information about the arch-general