I would like to stop a service as the script begin, and restart the service when the script ends.
I tried with:
at the beginning of the script, and:
at the end, but it gives me a sintax error at line xx.
Can anyone achieved to do something like this with a script?
Can anyone help me discover what's wrong?