~cairo-dock-team/cairo-dock-session/cairo-dock-session

« back to all changes in this revision

Viewing changes to compiz-standalone-upstart.conf

  • Committer: Fabrice Rey
  • Date: 2011-09-10 00:06:15 UTC
  • Revision ID: fabounet03@gmail.com-20110910000615-ikwipf93g9edjd3h
removed unused files and reordered other files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Compiz + Cairo-Dock upstart service
2
 
#
3
 
# Start the X server.
4
 
# Adapted from the GDM upstart service.
5
 
 
6
 
description     "X starter for Compiz + Cairo-Dock"
7
 
author          "Fabrice Rey <fabounet@glx-dock.org>"
8
 
 
9
 
start on (filesystem
10
 
          and started dbus
11
 
          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
12
 
               or stopped udevtrigger))
13
 
stop on runlevel [016]
14
 
 
15
 
script
16
 
        # Check kernel command-line for inhibitors
17
 
        for ARG in $(cat /proc/cmdline)
18
 
        do
19
 
            case "${ARG}" in
20
 
                text|-s|s|S|single)
21
 
                    exit 0
22
 
                    ;;
23
 
            esac
24
 
        done
25
 
        
26
 
        exec /usr/local/bin/compiz-standalone-init.sh
27
 
end script