Linux Mastering Development

why script bash is killed during ambari-agent stop

I am using the following simple script in order to stop and start the ambari agent on linux machine rhel 7.6 more /tmp/script #!/bin/bash ambari-agent start sleep 10 ambari-agent stop echo “start stop ambari agent ended” example bash script Verifying Python version compatibility… Using python /usr/bin/python Checking for previously running Ambari Agent… /run/ambari-agent/ found with […]