I created a file named dovecot_reset.sh at /
I put the following in the file:
service dovecot stop
service xinetd stop
killall -9 dovecot-auth
service dbrecover stop
service dbrecover start
service xinetd start
service dovecot start
When I do a ./dovecot_reset.sh I get the following error:
-bash: ./dovecot_reset.sh: Permission denied
What I am trying to do is write a small program that will reset dovecot when
a flood happens so my boss can just run one command instead of having to run
all 7 commands.
Any help would be appreciated. Thanks.
CGE Hosting Services