mirror of
https://git.proxmox.com/git/systemd
synced 2025-12-26 14:24:48 +00:00
ifup@.service: Set IgnoreOnIsolate and PartOf=network.target
With that, "systemctl default" does not shut down network interfaces. Also add PartOf=network.target, so that stopping network.target also stops network interfaces. LP: #1449380
This commit is contained in:
parent
33a013205f
commit
1afebb7d7e
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -21,6 +21,9 @@ systemd (219-8) UNRELEASED; urgency=medium
|
||||
* hwdb: Fix wireless switch on Dell Latitude (LP: #1441849)
|
||||
* Fix assertion crash when reading a service file with missing ' and
|
||||
trailing space. (LP: #1447243)
|
||||
* ifup@.service: Set IgnoreOnIsolate, so that "systemctl default" does not
|
||||
shut down network interfaces. (LP: #1449380). Add PartOf=network.target,
|
||||
so that stopping network.target also stops network interfaces.
|
||||
|
||||
-- Michael Biebl <biebl@debian.org> Mon, 13 Apr 2015 20:46:34 +0200
|
||||
|
||||
|
||||
2
debian/extra/units/ifup@.service
vendored
2
debian/extra/units/ifup@.service
vendored
@ -1,10 +1,12 @@
|
||||
[Unit]
|
||||
Description=ifup for %I
|
||||
After=local-fs.target network-pre.target networking.service
|
||||
PartOf=network.target
|
||||
Before=network.target
|
||||
BindsTo=sys-subsystem-net-devices-%i.device
|
||||
ConditionPathIsDirectory=/run/network
|
||||
DefaultDependencies=no
|
||||
IgnoreOnIsolate=yes
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
||||
Loading…
Reference in New Issue
Block a user