buildDaemon.sendSignal

Sends singal sig for described daemon. All signals are sent via ControlService WINAPI function.

logger is used to log all errors.

pidFilePath is ignored for Windows platform.

Note: Can be used with DaemonClient template.

template buildDaemon(alias DaemonInfo, DWORD startType = SERVICE_DEMAND_START)
version(Windows)
void
sendSignal
()
if (
isDaemon!DaemonInfo ||
isDaemonClient!DaemonInfo
)

Meta