~upstart-devel/upstart/upstart-jobs

« back to all changes in this revision

Viewing changes to etc/init/salt-master.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 "Salt Master"
2
 
 
3
 
start on (net-device-up
4
 
          and local-filesystems
5
 
          and runlevel [2345])
6
 
stop on runlevel [!2345]
7
 
limit nofile 100000 100000
8
 
 
9
 
script
10
 
  # Read configuration variable file if it is present
11
 
  [ -f /etc/default/$UPSTART_JOB ] && . /etc/default/$UPSTART_JOB
12
 
 
13
 
  # Activate the virtualenv if defined
14
 
  [ -f $SALT_USE_VIRTUALENV/bin/activate ] && . $SALT_USE_VIRTUALENV/bin/activate
15
 
 
16
 
  exec salt-master
17
 
end script