]> git.pld-linux.org Git - packages/systemd.git/blame - ifup@.service
- network stuff that works
[packages/systemd.git] / ifup@.service
CommitLineData
966b7f10
JR
1# To set-up a new interface do the following (for example eth0):
2#
3# ln -s /lib/systemd/system/ifup@.service \
4# /etc/systemd/system/network.target.wants/ifcfg@eth0.service
5#
4b45bf2a
TP
6[Unit]
7Description=Start ifup for %I
8After=local-fs.target
9After=network.service
10Wants=network.service
11Before=network-post.service
12
966b7f10
JR
13# If it's a vlan/bridge/macvlan slave put required masters like this:
14#
15#Before=ifcfg@eth0.service
16
4b45bf2a
TP
17[Service]
18ExecStart=/sbin/ifup %I
19ExecStop=/sbin/ifdown %I
20RemainAfterExit=true
21Type=oneshot
This page took 0.025886 seconds and 4 git commands to generate.