Contents of /trunk/initscripts/systemd/units/services/network.service
Parent Directory | Revision Log
Revision 1481 -
(show annotations)
(download)
Wed Aug 3 23:30:25 2011 UTC (12 years, 8 months ago) by niro
File size: 295 byte(s)
Wed Aug 3 23:30:25 2011 UTC (12 years, 8 months ago) by niro
File size: 295 byte(s)
-pull-in network.target via wants, no need to install via wantedby -depend on udev-settle.service atm because the network modules may not loaded already when this script is run by systemd
1 | [Unit] |
2 | Description=Network Connectivity |
3 | After=syslog.target udev-settle.service |
4 | Wants=network.target |
5 | Before=network.target |
6 | |
7 | [Service] |
8 | Type=oneshot |
9 | RemainAfterExit=yes |
10 | ExecStart=/lib/systemd/magellan-network start |
11 | ExecStop=/lib/systemd/magellan-network stop |
12 | |
13 | [Install] |
14 | WantedBy=multi-user.target |