[FZH] Fwd: Re: [systemd-devel] I need a killall.service in beta fc 15 (systemd installed by default)

microcai microcai at fedoraproject.org
Fri May 13 16:53:07 UTC 2011



-------- 原始信息 --------
主题: Re: [systemd-devel] I need a killall.service in beta fc 15
(systemd installed by default)
日期: Sun, 8 May 2011 19:52:36 +0200
发件人: Kay Sievers <kay.sievers at vrfy.org>
收件人: Floydsmith at aol.com
抄送: systemd-devel at lists.freedesktop.org

On Sun, May 8, 2011 at 19:01,  <Floydsmith at aol.com> wrote:
> I guess this might be somthing like:
> cd /
> ln -sf ../../../lib/systemd/system/3.target
> etc/systemd/system/default.target
> but with 3 replaced by 6 (for shutdown).
>
> I need such a service so that I on shutdown I can have a script (like
> killall) do custom things with the BIOS time and backup a few files.
>
> How to I create such a service?

You can install binaries in:
  /lib/systemd/system-shutdown/
which will be executed, right before systemd really shuts down.

Kay
_______________________________________________
systemd-devel mailing list
systemd-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/chinese/attachments/20110514/e3255e71/attachment.bin 


More information about the Chinese mailing list