Im am trying to get a cgi stript run by apache to command

```
service network restart

```

I just put the command in a bash file but I get a permission denied error.

```
 #!/bin/bash
 service network restart

```

Maybe I need a perl solution?