[arch-general] rc.local.shutdown equivalent in systemd

Genes MailLists lists at sapience.com
Tue Jul 24 12:22:16 EDT 2012


On 07/24/2012 06:38 AM, Rodrigo Rivas wrote:
> Shouldn't it be just
>
> [Unit]
> Description=Unload module before shutdown
>
> [Service]
> Type=oneshot
> ExecStart=/usr/bin/rmmod modulename
>
> [Install]
> WantedBy=shutdown.target
>
> Without multi-user.target or Before=?
>

    In this above approach - can you be certain syslog is still running? 
Do you care for that matter ...

    gene/



More information about the arch-general mailing list