daemon
daemon copied to clipboard
A daemon package for use with Go (golang) services
I have a service that has to get a couple files using relative import paths, however when I install on Darwin my local path goes to `/usr/local/var/log` or somewhere similar....
i run the example, install and start ok. after start i run status, shows"Service is stopped" . and actually the daemon is alive. and still alive after "./examples remove".
* * * func main() { srv, err := daemon.New(name, description, daemon.SystemDaemon) if err != nil { //
I had the error reported by a user of our service this morning. ``` Error: open /Users//Library/LaunchAgents/service.plist: no such file or directory ``` It looks like on macOS Monterey, the...
Added new methods SetUser and SetPassword to allow for running daemons as non-root user on all supported operating systems. Also fixed a couple of typos and fixed a few OS...
Attempting to start windows service results in a long pause and the following error returned: Error: The service did not respond to the start or control request in a timely...
### Problem ### Attempting to start windows service results in a long pause and the following error returned: ``` ERROR_SERVICE_REQUEST_TIMEOUT: The service did not respond to the start or control...
I increase the system max file open in LINUX success,but my process always 1024 #cat /proc/4918/limits Limit Soft Limit Hard Limit Units ... Max open files 1024 1024 files ......