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. * Truncated DaemonClient aren't able to run described daemon, only signal sending and daemon uninstalling.

readDaemonInfo
template readDaemonInfo(alias DaemonInfo)

Handles utilities for signal mapping from local representation to GNU/Linux one

Meta

Authors

NCrashed <ncrashed@gmail.com>

License

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