~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to etc/init/manila-scheduler.conf

  • Committer: Dimitri John Ledkov
  • Date: 2014-05-06 18:45:46 UTC
  • Revision ID: dimitri.ledkov@canonical.com-20140506184546-5toyx56xxrue0f0v
auto update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
description "Manila scheduler server"
2
 
author "Chuck Short <zulcss@ubuntu.com>"
3
 
 
4
 
start on runlevel [2345]
5
 
stop on runlevel [!2345]
6
 
 
7
 
chdir /var/run
8
 
 
9
 
pre-start script
10
 
    mkdir -p /var/run/manila
11
 
    chown manila:manila /var/run/manila
12
 
 
13
 
    mkdir -p /var/lock/manila
14
 
    chown manila:root /var/lock/manila
15
 
end script
16
 
 
17
 
exec start-stop-daemon --start --chuid manila --exec /usr/bin/manila-scheduler \
18
 
     -- --config-file=/etc/manila/manila.conf --log-file=/var/log/manila/manila-scheduler.log