check_service_and_restart_if_failed
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| check_service_and_restart_if_failed [2020/07/27 03:33] – k2patel | check_service_and_restart_if_failed [2020/08/10 02:35] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| # Define service array | # Define service array | ||
| - | serviceName = 'nginx' | + | serviceName = ["nginx"] |
| - | + | | |
| - | main(serviceName) | + | |
| </ | </ | ||
check_service_and_restart_if_failed.1595820824.txt.gz · Last modified: 2020/08/10 02:30 (external edit)
