# -*- mode: conf; -*-

##############################################################################
# Note: we may want to launch out of a dbus config file rather than an
# upstart job.  Depends on how often and by whom we'll be used.
#
start on stopped finish
respawn

# Stop when the Software Update tool is about to install an update.
# upstart restarts the job when installation is complete.
stop on started start_update

pre-start script
    mkdir -p /tmp/misc-props    # should match LP_RUNTIME_DIR in lunaprefs.h
end script

exec /usr/bin/luna-prefs-service
