mirror of
https://git.proxmox.com/git/systemd
synced 2026-01-21 22:43:24 +00:00
To ensure that profiles apply to e. g. dhclient: - Rename networking.service.d/network-pre.conf to systemd.conf, and add After=apparmor.service. - ifup@.service: Add After=apparmor.service. - Add Breaks: on apparmor << 2.9.2-1, which dropped its dependency to $remote_fs. LP: #1438249
17 lines
426 B
Desktop File
17 lines
426 B
Desktop File
[Unit]
|
|
Description=ifup for %I
|
|
After=local-fs.target network-pre.target networking.service apparmor.service
|
|
PartOf=network.target
|
|
Before=network.target
|
|
BindsTo=sys-subsystem-net-devices-%i.device
|
|
ConditionPathIsDirectory=/run/network
|
|
DefaultDependencies=no
|
|
IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/sbin/ifup --allow=hotplug %I
|
|
ExecStartPost=/sbin/ifquery --state %I
|
|
ExecStop=/sbin/ifdown %I
|
|
RemainAfterExit=true
|