Browse Source

systemd: fix 'service' path

On Fedora it is all the same because /sbin -> /usr/sbin symlink. But on
Debian it does matter.
Marek Marczykowski-Górecki 9 years ago
parent
commit
a2e17ef244
1 changed files with 1 additions and 1 deletions
  1. 1 1
      vm-systemd/misc-post.sh

+ 1 - 1
vm-systemd/misc-post.sh

@@ -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