Skip to content

Commit 727b083

Browse files
Add the required version
1 parent c13c1ad commit 727b083

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ServiceControlInstaller.Engine/Configuration/ServiceControl/ServiceControlAppConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ protected override void UpdateSettings()
3636
// When shutting down or restarting the OS we have no control over the
3737
// shutdown timeout. This is by the installer engine that is run _only_ on
3838
// Windows via SCMU or PowerShell
39-
settings.Set(ServiceControlSettings.ShutdownTimeout, "00:02:00");
39+
settings.Set(ServiceControlSettings.ShutdownTimeout, "00:02:00", version);
4040

4141
// Retired settings
4242
settings.RemoveIfRetired(ServiceControlSettings.AuditQueue, version);

src/ServiceControlInstaller.Engine/Configuration/ServiceControl/ServiceControlAuditAppConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ protected override void UpdateSettings()
3434
// When shutting down or restarting the OS we have no control over the
3535
// shutdown timeout. This is by the installer engine that is run _only_ on
3636
// Windows via SCMU or PowerShell
37-
settings.Set(ServiceControlSettings.ShutdownTimeout, "00:02:00");
37+
settings.Set(ServiceControlSettings.ShutdownTimeout, "00:02:00", version);
3838

3939
foreach (var manifestSetting in instance.PersistenceManifest.Settings)
4040
{

0 commit comments

Comments
 (0)