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/

Reply via email to