I have created this PR Move systemd config to a templating approach. by MichelDiz · Pull Request #19 · dgraph-io/Install-Dgraph · GitHub to fix this. The objective of the PR is to create the services files on the fly. And at line 31 it will check for the bash path and at the moment of the creation of the file, it will add this.