This is the Linux app named go-daemon whose latest release can be downloaded as v0.1.6.zip. It can be run online in the free hosting provider OnWorks for workstations.
Download and run online this app named go-daemon with OnWorks for free.
Follow these instructions in order to run this app:
- 1. Downloaded this application in your PC.
- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 3. Upload this application in such filemanager.
- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.
- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.
- 6. Download the application, install it and run it.
SCREENSHOTS
Ad
go-daemon
DESCRIPTION
Library for writing system daemons in Go. Now supported only UNIX-based OS (Windows is not supported). But the library was tested only on Linux and OSX, so if you have the ability to test the library on other platforms, give me feedback, please (#26). We can not use fork syscall in Golang's runtime, because child process doesn't inherit threads and goroutines in that case. The library uses a simple trick: it runs its own copy with a mark - a predefined environment variable. Availability of the variable for the process means execution in the child's copy. So that if the mark is not set - the library executes the parent's operations and runs its own copy with the mark, and if the mark is set - the library executes the child's operations.
Features
- Goroutine-safe daemonization
- Out of box work with pid-files
- Easy handling of system signals
- The control of a daemon
- Now supported only UNIX-based OS
- Library for writing system daemons in Go
Programming Language
Go
Categories
This is an application that can also be fetched from https://sourceforge.net/projects/go-daemon.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.