Skip to content

Commit 7970be4

Browse files
cosmo0920patrick-stephens
authored andcommitted
build: Add workdir option for the default registration of Windows service
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
1 parent 05c8c3a commit 7970be4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpack/wix/WIX.template.in.cmakein

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
</SetProperty>
8484

8585
<Property Id="CreateFluentBitWinSvc" Value=" "/>
86-
<CustomAction Id="SetCreateFluentBitWinSvcCommand" Property="CreateFluentBitWinSvc" Value="&quot;sc.exe&quot; create @FLB_OUT_NAME@ binpath= &quot;\&quot;[INSTALL_ROOT]bin\@FLB_OUT_NAME@.exe\&quot; -c \&quot;[INSTALL_ROOT]conf\@FLB_OUT_NAME@.conf\&quot;&quot; start= delayed-auto" Execute="immediate" />
86+
<CustomAction Id="SetCreateFluentBitWinSvcCommand" Property="CreateFluentBitWinSvc" Value="&quot;sc.exe&quot; create @FLB_OUT_NAME@ binpath= &quot;\&quot;[INSTALL_ROOT]bin\@FLB_OUT_NAME@.exe\&quot; -c \&quot;[INSTALL_ROOT]conf\@FLB_OUT_NAME@.conf\&quot; --workdir \&quot;[INSTALL_ROOT]conf\&quot;&quot; start= delayed-auto" Execute="immediate" />
8787
<CustomAction Id="CreateFluentBitWinSvc" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="ignore" Impersonate="no" />
8888

8989
<Property Id="LaunchFluentBitWinSvc" Value=" "/>

0 commit comments

Comments
 (0)