Is that possible for JSVC to check for processId written to file and execute a script(not java program) if the process is not running?
Asked
Active
Viewed 14 times
0
-
Why would you use JSVC for that? Wouldn't it be easier to write a bash script? – Christine Dec 11 '18 at 20:16
-
The script launches a java program, which id will be written to file. JSVC can monitor the processId and restart it if it fails. – user3634446 Dec 11 '18 at 20:25