A systemd skip for Debuntu systems

This skip matches the existing service startup skips we have for Red
Hat and Suse on Debuntu systems.

Change-Id: I1926fd122a5833fb295f3c41292c474e5bc8c996
This commit is contained in:
Ian Wienand 2018-11-28 10:22:49 +11:00
parent 8f9b156acc
commit 48ad6dbd5f
1 changed files with 4 additions and 0 deletions

View File

@ -4,8 +4,12 @@ DefaultDependencies=no
Before=network-pre.target
Wants=network-pre.target
# Red Hat
ConditionPathExists=!/etc/sysconfig/network-scripts/ifcfg-%I
# Suse
ConditionPathExists=!/etc/sysconfig/network/ifcfg-%I
# Debuntu
ConditionPathExists=!/etc/network/interfaces.d/%I.cfg
[Service]
Type=oneshot