Skip to content

Commit

Permalink
spamassassin: Use correct daemon name on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Jul 29, 2024
1 parent 7542ad3 commit a08b436
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cookbooks/spamassassin/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package "spamassassin"

service_name = if platform?("debian")
service_name = if platform?("debian") || (platform?("ubuntu") && node[:lsb][:release].to_f >= 24.04)
"spamd"
else
"spamassassin"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/spamassassin/inspec/spamassassin_spec.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
service_name = if os.name == "debian"
service_name = if os.name == "debian" || (os.name == "ubuntu" && os.release.to_f >= 24.04)
"spamd"
else
"spamassassin"
Expand Down

0 comments on commit a08b436

Please sign in to comment.