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)
version(Windows)
void
sendSignal
(
shared ILogger logger
,,
string pidFilePath = ""
)
if (
isDaemon!DaemonInfo ||
isDaemonClient!DaemonInfo
)

Meta