Skip to content

Commit

Permalink
Fix systemd issue on startup (#224)
Browse files Browse the repository at this point in the history
* Enable before start to fix systemd issue

* Detail change in changelog

---------

Co-authored-by: Dan Webb <dan.webb@damacus.io>
  • Loading branch information
tjohnson-disney and damacus authored Oct 3, 2023
1 parent 0934153 commit 52d2982
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This file is used to list changes made in each version of the splunk cookbook.

## Unreleased

Reverse enable and start actions for systemd managed Splunkd.service

## 9.2.2 - *2022-12-11*

## 9.2.19 - *2023-10-03*

## 9.2.18 - *2023-09-29*
Expand Down
2 changes: 1 addition & 1 deletion recipes/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
default_service_action = if node['splunk']['disabled'] == true
:stop
elsif systemd?
%i(start enable)
%i(enable start)
else
:start
end
Expand Down

0 comments on commit 52d2982

Please sign in to comment.