~ubuntu-branches/ubuntu/vivid/url-dispatcher/vivid-proposed

« back to all changes in this revision

Viewing changes to data/url-dispatcher-update-user.conf.in

  • Committer: Package Import Robot
  • Author(s): Ubuntu daily release, Ted Gould
  • Date: 2014-08-27 02:10:21 UTC
  • mfrom: (1.1.17)
  • Revision ID: package-import@ubuntu.com-20140827021021-fzeyvmg3kcqk5yxr
Tags: 0.1+14.10.20140827-0ubuntu1
[ Ted Gould ]
* Split update jobs into independent jobs
* Support for unity8-dash URLs even though it's not an application
  (LP: #1361349)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
description "URL Dispatcher User Directory Watch"
 
2
 
 
3
start on (file FILE=~/.config/url-dispatcher/urls/*.url-dispatcher) or url-dispatcher-update-user
 
4
 
 
5
task
 
6
 
 
7
pre-start script
 
8
        RUNNING=$(initctl status url-dispatcher | grep start/running 2> /dev/null)
 
9
 
 
10
        if [ "x${RUNNING}" = "x" ]; then
 
11
                echo "DEBUG: Started before URL Dispatcher, let it try to build the DB"
 
12
                sleep 5
 
13
        fi
 
14
end script
 
15
 
 
16
exec @pkglibexecdir@/update-directory "~/.config/url-dispatcher/urls/*.url-dispatcher"