Gateway --conf param appears not to work

Tyk gateway does not seem to respect the command line flag to set the location of the tyk.conf file. The supplied startup is:

ExecStart=/opt/tyk-gateway/tyk --conf=/opt/tyk-gateway/tyk.conf

but it does not use that file. It uses /etc/tyk/tyk.conf

Are we doing this wrong?

The Tyk packages don’t put any files in /etc when it installs, it might try to write a file there if it can’t find the conf file specified in the path, but all of our start scripts use this command, including docker, and they all work as expected.

  1. Does the file exist on that path?
  2. Does the executing user have permission to read this file?
  3. Does the gateway log provide aby output