mirror of
https://github.com/valitydev/salt-common.git
synced 2024-11-07 10:48:59 +00:00
sls/kibana/init.sls: Add watch_in on service restart to pax marks;
This commit is contained in:
parent
66970d08bd
commit
1b5e735c4b
@ -28,9 +28,15 @@ kibana:
|
||||
- name: 'paxctl -cm /opt/kibana/node/bin/node'
|
||||
- onchange:
|
||||
- pkg: kibana
|
||||
- watch_in:
|
||||
- service: kibana
|
||||
|
||||
'paxctl-ng-kibana-onfail':
|
||||
cmd.run:
|
||||
- name: 'service kibana stop; paxctl -cm /opt/kibana/node/bin/node'
|
||||
- name: 'service kibana stop; sleep 10; paxctl -cm /opt/kibana/node/bin/node'
|
||||
- onfail:
|
||||
- cmd: paxctl-ng-kibana
|
||||
- watch_in:
|
||||
- service: kibana
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user