Registry / utility / vividcortex-godaemon

vividcortex-godaemon

JSON →
library1.0.0gogounverified

Package godaemon runs a program as a Unix daemon.

go get github.com/VividCortex/godaemon
INSTALL
IMPORT
SIG · VIVIDCORTEX-GODAEM
V
vividcortex-godaemon
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

godaemon
github.com/VividCortex/godaemon

Daemonize the current process

package main import ( "github.com/VividCortex/godaemon" ) func main() { godaemon.MakeDaemon(&godaemon.DaemonAttr{}) // Daemon code here }
Debug
Known issues
gotchaDaemonization may not work on all Unix systems
fix
Test on target OS; consider using systemd service files instead
affects: >=1.0.0
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
vividcortex-godaemon — go get vividcortex-godaemon · libregistry