]> git.pld-linux.org Git - packages/systemd.git/blob - ifup@.service
- added C:upstart
[packages/systemd.git] / ifup@.service
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 # 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
9 #
10 [Unit]
11 Description=Start ifup for %I
12 After=network.service
13 Wants=network.service
14 Before=network-post.service
15
16 # If it's a vlan/bridge/macvlan slave put required masters like this:
17 #
18 #Before=ifcfg@eth0.service
19
20 [Service]
21 ExecStart=/sbin/ifup %I boot
22 ExecStop=/sbin/ifdown %I boot
23 RemainAfterExit=true
24 Type=oneshot
This page took 0.025287 seconds and 3 git commands to generate.