Add -config <config file> to the service configuration arguments

Maybe
fixes #1122
This commit is contained in:
Frank Denis 2019-12-23 15:35:52 +01:00
parent 7e45b50d58
commit 0e644c4b86
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@ func main() {
DisplayName: "DNSCrypt client proxy",
Description: "Encrypted/authenticated DNS proxy",
WorkingDirectory: pwd,
Arguments: []string{"-config", *flags.ConfigFile},
}
svc, err := service.New(app, svcConfig)
if err != nil {