Re: rc.local.shutdown equivalent in systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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/



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux