[arch-general] rc.local.shutdown equivalent in systemd
teg at jklm.no
Tue Jul 24 06:44:42 EDT 2012
On Tue, Jul 24, 2012 at 12:38 PM, Rodrigo Rivas
<rodrigorivascosta at gmail.com> wrote:
> On Tue, Jul 24, 2012 at 4:31 AM, James Nelson <jnlson at gmx.com> wrote:
>> On 07/23/12 20:10, Manolo Martínez wrote:
>> Description=Unload module before shutdown
>> ExecStart=/usr/bin/rmmod modulename
>> Haven't tried it, might not work, no guarantees, etc..
> Shouldn't it be just
> Description=Unload module before shutdown
> ExecStart=/usr/bin/rmmod modulename
> Without multi-user.target or Before=?
Better put Before= if it is important that the module is properly
removed before the machine is shut down.
Btw, you should probably file a bug against whatever module requires this...
More information about the arch-general