systemd: fix handling of .path units overrides

This commit is contained in:
Marek Marczykowski-Górecki 2014-01-30 02:54:16 +01:00
parent fc04408c7a
commit 0123719646

View File

@ -483,7 +483,7 @@ for srv in cups ModemManager NetworkManager NetworkManager-wait-online ntpd chro
cp $OVERRIDEDIR/$srv.socket /etc/systemd/system/
fi
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
done