This is a /bin/sh script, though, not a bash script.

Instead of using a symlink, why not have a 2 line script:

```
cd /path/to/logstash
bin/logstash "$@"
```

?