README.md in upstart-exporter-2.1.3 vs README.md in upstart-exporter-2.1.4
- old
+ new
@@ -33,20 +33,20 @@
run_group: www # The group of run_user
helper_dir: /var/helper_dir # Auxiliary directory for scripts incapsulating background jobs
upstart_dir: /var/upstart_dir # Directory where upstart scripts should be placed
prefix: 'myupstartjobs-' # Prefix added to app's log folders and upstart scripts
respawn: # Controls how often job can fail and be restarted, set to false to prohibit restart after failure
- limit: 10 # Number of allowed restarts in given interval
+ count: 10 # Number of allowed restarts in given interval
interval: 10 # Interval in seconds
The config is not installed by default. If this config is absent, the default values are the following:
helper_dir: /var/local/upstart_helpers/
upstart_dir: /etc/init/
run_user: service
prefix: 'fb-'
respawn:
- limit: 5
+ count: 5
interval: 10
To give a certain user (i.e. `deployuser`) the ability to use this script, you can place the following lines into `sudoers` file:
# Commands required for manipulating jobs