daemonize.windows

Implementation of cross-platform daemon API for Windows platform.

Members

Functions

defaultLockFile
string defaultLockFile(string daemonName)

Windows version doesn't use lock files

defaultPidFile
string defaultPidFile(string daemonName)

Windows version doesn't use pid files

isCustomSignal
bool isCustomSignal(Signal sig)

Checks is sig is not actually built-in

isNativeSignal
bool isNativeSignal(Signal sig)

Checks is sig is actually built-in

Templates

buildDaemon
template buildDaemon(alias DaemonInfo, DWORD startType = SERVICE_DEMAND_START)

The template holds a set of functions that build, run and send signals to daemons that are built with Daemon or DaemonClient template.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE file.

Authors

NCrashed <ncrashed@gmail.com>