]> git.pld-linux.org Git - packages/systemd.git/blame - ifup@.service
- added metapackage to avoid /var/run compat pollution
[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
bfc361f6
JR
5# or
6# cp -a /lib/systemd/system/ifup@.service \
7# /etc/systemd/system/network.target.wants/ifcfg@eth0.service
8# if you have to edit this service
966b7f10 9#
4b45bf2a
TP
10[Unit]
11Description=Start ifup for %I
4b45bf2a
TP
12After=network.service
13Wants=network.service
14Before=network-post.service
15
966b7f10
JR
16# If it's a vlan/bridge/macvlan slave put required masters like this:
17#
18#Before=ifcfg@eth0.service
19
4b45bf2a 20[Service]
ae5ad87b
JR
21ExecStart=/sbin/ifup %I boot
22ExecStop=/sbin/ifdown %I boot
4b45bf2a
TP
23RemainAfterExit=true
24Type=oneshot
This page took 0.032971 seconds and 4 git commands to generate.