Re: systemd
> Believing what I read at Arch-general mailing list, configuring systemd
> will be in some kind of irrational secret language.
An example:
-------- Forwarded Message --------
From: [snip]
Reply-to: General Discussion about Arch Linux
Subject: Re: [arch-general] systemd network configuration
Date: Wed, 25 Jul 2012 22:18:52 -0700
[snip]
[Unit]
Description=[u] Static Interface [%I]
StopWhenUnneeded=true
Wants=network.target
Before=network.target
BindTo=sys-subsystem-net-devices-%i.device
After=sys-subsystem-net-devices-%i.device
After=basic.target
[Service]
Type=oneshot
TimeoutSec=0
Restart=always
RestartSec=30
RemainAfterExit=yes
ExecStart=-/usr/sbin/ip addr add 10.50.250.1/24 dev %I
ExecStart=/usr/sbin/ip link set %I up
[Install]
Alias=sys-subsystem-net-devices-lan0.device.wants/u.net.static at
lan0.service
I see that %I is supposed to stand for eth0; how do I connect this
with eth0?
Reply to:
- References:
- systemd
- From: "Ralf Mardorf" <ralf.mardorf@alice-dsl.net>
- Re: systemd
- From: Andrei POPESCU <andreimpopescu@gmail.com>
- Re: systemd
- From: Roger Leigh <rleigh@codelibre.net>
- Re: systemd
- From: Ralf Mardorf <ralf.mardorf@alice-dsl.net>