TopshelfSettingsExtensions.

UseLocalSystem(TopshelfSettings, bool) Method

Summary

Sets if the service with run with the local system account
Assembly
Cake.Topshelf.dll
Namespace
Cake.Topshelf
Containing Type
TopshelfSettingsExtensions

Syntax

public static TopshelfSettings UseLocalSystem(this TopshelfSettings settings, bool localSystem = true)

Parameters

Name Type Description
settings TopshelfSettings The installation settings.
localSystem bool Run with the local system account

Return Value

Type Description
TopshelfSettings The same TopshelfSettings instance so that multiple calls can be chained.