server icon indicating copy to clipboard operation
server copied to clipboard

gotify ignores command line arguments / no way to redirect config

Open schneidersoft opened this issue 5 years ago • 2 comments

Command line arguments given to gotify are ignored. There is f.i. no --help. I was looking for a way to specify the config file to use. Gotify looks in ./gotify.yml and /etc/gotify... but not ~/.config/gotify/config.yml or ~/.gotify.yml which is what I was expecting... There is also no way to specify where the data directory is located. This means the behaviour of gotify depends on the current working dirctory...

schneidersoft avatar Oct 18 '20 21:10 schneidersoft

Yeah, gotify either takes the config in /etc or the current working directory.

jmattheis avatar Oct 19 '20 17:10 jmattheis

There is also no way to specify where the data directory is located.

I want to configure a custom data directory too, as the gotify server does not have permissions to create and write to a data directory in the bin folder (https://github.com/SynoCommunity/spksrc/pull/5126)

hgy59 avatar Feb 10 '22 00:02 hgy59