Browse code

[tika] BM-15285 Fix: restart tika on abnormal (includes kill -9 + watchdog) instead of just watchdog

Thomas Cataldo authored on 25/10/2019 09:04:21
Showing 1 changed files
... ...
@@ -15,7 +15,7 @@ RemainAfterExit=no
15 15
 SuccessExitStatus=129 143
16 16
 Environment=JAVA_HOME=/usr/lib/jvm/bm-jdk
17 17
 ExecStart=/usr/share/bm-tika/bm-tika /var/run/bm-tika.pid
18
-Restart=on-watchdog
18
+Restart=on-abnormal
19 19
 
20 20
 [Install]
21 21
 WantedBy=multi-user.target