#!/bin/bash
# Script to set Thread count 0 for Job

JOB_PRIVACY_GATEWAY="/var/lib/tomcat-job1/webapps/BluKryptJob/WEB-INF/classes/privacygateway.properties"

sed -i "/stopJobsEnabled=/d" $JOB_PRIVACY_GATEWAY
echo "stopJobsEnabled=true" >> $JOB_PRIVACY_GATEWAY

service tomcat-job1 restart
