Skip to content

Commit

Permalink
updated spec, added some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mrafi97 committed Oct 17, 2023
1 parent 63d7296 commit ba41040
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion windows_service/assets/configuration/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ files:
- <SERVICE_NAME_1>
- name: <SERVICE_NAME_2>
- startup_type: automatic
trigger_start: false
- trigger_start: false
- name: disable_legacy_service_tag
description: |
Whether or not to stop submitting the tag `service` that has been renamed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ instances:
- <SERVICE_NAME_1>
- name: <SERVICE_NAME_2>
- startup_type: automatic
trigger_start: false
- trigger_start: false

## @param disable_legacy_service_tag - boolean - optional - default: false
## Whether or not to stop submitting the tag `service` that has been renamed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ def trigger_count(self):
if e.winerror != winerror.ERROR_INSUFFICIENT_BUFFER:
raise

# allocate buffer and get trigger info, raise error if function returns 0
# allocate buffer and get trigger info
# raise any error from QueryServiceConfig2W
bytesBuffer = ctypes.create_string_buffer(bytesneeded.value)
QueryServiceConfig2W(
ctypes.c_void_p(self.hSvc.handle),
Expand Down

0 comments on commit ba41040

Please sign in to comment.