2128 + service: Detect config file on service run correctly
Cose #2128 Squashed commit of the following: commit cb7a58276fa97ac2e22bdbcb6d56c61415482e40 Author: ArtemBaskal <a.baskal@adguard.com> Date: Thu Sep 24 21:03:43 2020 +0300 2128 + service: Detect config file on service run correctly
This commit is contained in:
@@ -164,6 +164,8 @@ func handleServiceControlAction(opts options) {
|
||||
log.Fatalf("Failed to run service: %s", err)
|
||||
}
|
||||
} else if action == "install" {
|
||||
initConfigFilename(opts)
|
||||
initWorkingDir(opts)
|
||||
handleServiceInstallCommand(s)
|
||||
} else if action == "uninstall" {
|
||||
handleServiceUninstallCommand(s)
|
||||
|
||||
Reference in New Issue
Block a user