systemd: fix handling of .path units overrides
This commit is contained in:
parent
fc04408c7a
commit
0123719646
@ -483,7 +483,7 @@ for srv in cups ModemManager NetworkManager NetworkManager-wait-online ntpd chro
|
|||||||
cp $OVERRIDEDIR/$srv.socket /etc/systemd/system/
|
cp $OVERRIDEDIR/$srv.socket /etc/systemd/system/
|
||||||
fi
|
fi
|
||||||
if [ -f $UNITDIR/$srv.path -a -f $OVERRIDEDIR/$srv.path ]; then
|
if [ -f $UNITDIR/$srv.path -a -f $OVERRIDEDIR/$srv.path ]; then
|
||||||
cp $OVERRIDEDIR/$srv.service /etc/systemd/system/
|
cp $OVERRIDEDIR/$srv.path /etc/systemd/system/
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user