Skip to content

Commit

Permalink
fix launchd perms, path to service wrapper
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kolberg <[email protected]>
  • Loading branch information
amdprophet committed Oct 24, 2024
1 parent 08cb85e commit c764bc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/productbuild/uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ collector_files=(
"/etc/otelcol-sumo/opamp.d"
"/usr/local/bin/otelcol-config"
"/usr/local/bin/otelcol-sumo"
"/usr/local/share/otelcol-sumo"
"/usr/local/share/otelcol-sumo/otelcol-sumo.sh"
"/usr/local/share/otelcol-sumo"
"/var/lib/otelcol-sumo/file_storage"
"/var/lib/otelcol-sumo"
"/var/log/otelcol-sumo"
Expand Down
2 changes: 1 addition & 1 deletion assets/services/launchd/com.sumologic.otelcol-sumo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>otelcol-sumo</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/share/otelcol-sumo.sh</string>
<string>/usr/local/share/otelcol-sumo/otelcol-sumo.sh</string>
</array>
<key>EnvironmentVariables</key>
<dict>
Expand Down
2 changes: 1 addition & 1 deletion components/otelcol-sumo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ macro(install_otc_service_launchd)
DESTINATION "${OTC_LAUNCHD_DIR}"
PERMISSIONS
OWNER_READ OWNER_WRITE
GROUP_READ GROUP_WRITE
GROUP_READ
COMPONENT otelcol-sumo
)
endmacro()
Expand Down

0 comments on commit c764bc3

Please sign in to comment.