Browse Source

Merge "Add new lock-file setting to the config doc and reference config"

changes/91/391991/1
Jenkins 5 years ago
committed by Gerrit Code Review
parent
commit
db11e539d5
2 changed files with 8 additions and 0 deletions
  1. +4
    -0
      doc/source/configuration.rst
  2. +4
    -0
      examples/reference-gertty.yaml

+ 4
- 0
doc/source/configuration.rst View File

@ -107,6 +107,10 @@ line.
Gertty listens on a unix domain socket for remote commands at
~/.gertty.sock. This option may be used to change the path.
**lock-file**
Gertty uses a lock file per server to prevent multiple processes
from running at the same time. The default is ~/.gertty.servername.lock
Example:
.. code-block: yaml


+ 4
- 0
examples/reference-gertty.yaml View File

@ -13,6 +13,7 @@ servers:
# account settings to generate/retrieve this password.
password: CHANGEME
git-root: ~/git/
lock-file: ~/.gertty.CHANGEME.lock
# Each server section can have the following fields:
# A name that describes the server, to reference on the command line. [required]
@ -53,6 +54,9 @@ servers:
# Gertty listens on a unix domain socket for remote commands at
# ~/.gertty.sock. You may change the path here:
# socket: ~/.gertty.sock
# Gertty uses a lock file per server to prevent multiple processes
# from running at the same time. Example:
# lock-file: /run/lockme.lock
# Gertty comes with two palettes defined internally. The default
# palette is suitable for use on a terminal with a dark background.


Loading…
Cancel
Save