~didrocks/tarmac/use-pid-file

« back to all changes in this revision

Viewing changes to docs/introduction.txt

  • Committer: Didier Roche
  • Date: 2011-11-23 13:08:09 UTC
  • Revision ID: didier.roche@canonical.com-20111123130809-orl08vq65yxpujnj
add pid detection to have only one tarmac at a time running with use_pid = True

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
0 * * * * /usr/local/bin/tarmac merge
93
93
 
 
94
 
 
95
For ensuring having a unique tarmac running at a time, you can define:
 
96
[Tarmac]
 
97
use_pid = True
 
98
 
 
99
in your tarmac configuration file. If a second tarmac is run with the same pid file
 
100
(that you can override with TARMAC_PID_FILE env variable), it will exit unless
 
101
the other tarmac process died).
 
102
 
 
103
 
94
104
==========================
95
105
Authenticating with Tarmac
96
106
==========================