kardianos / service

Run go programs as a service on major platforms.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Service does not run when placed on other directory apart from C

rngallen opened this issue · comments

When I place my program on C directory everything works fine but when I move it to other directory as per my config file below service does not start

	"Name": "fiberseries",
	"DisplayName": "Fiber Series",
	"Description": "Run this Run Fiber Series Backed",
	"Dir": "D:\\projects\\go\\winservice",
	"Exec": "C:\\windows\\system32\\cmd.exe",
	"Args": ["D:", "D:\\projects\\go\\winservice\\fiberseries.exe"],
	"Env": [],
	"Stderr": "D:\\projects\\go\\winservice\\builder_err.log",
	"Stdout": "D:\\projects\\go\\winservice\\builder_out.log"
}