#!/bin/sh
pid=$(pidof postgres)
echo $pid
kill $pid
pg_ctlcluster 8.4 main start


I am doing only this much of thing ...in command prompt i used sudo kill
manullay...
but in shell while i executing it's saying operation not permitted
kill : 4 : operation not permitted..
i assume this is some permission problem..How can i resolve that?

Reply via email to