systemd: fix 'service' path

On Fedora it is all the same because /sbin -> /usr/sbin symlink. But on
Debian it does matter.
This commit is contained in:
Marek Marczykowski-Górecki 2014-10-19 04:11:15 +02:00
parent 7339dd1ece
commit a2e17ef244

View File

@ -62,7 +62,7 @@ fi
# Start AppVM specific services
if [ ! -f /etc/systemd/system/cups.service ]; then
if [ -f /var/run/qubes-service/cups ]; then
/sbin/service cups start
/usr/sbin/service cups start
# Allow also notification icon
sed -i -e '/^NotShowIn=.*QUBES/s/;QUBES//' /etc/xdg/autostart/print-applet.desktop
else