Skip to content

Commit

Permalink
Move away from systemd::service_limits
Browse files Browse the repository at this point in the history
This was deprecated in the latest release and will be dropped in the
future.
  • Loading branch information
ekohl committed May 16, 2024
1 parent 5da646f commit 8dad4fd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions manifests/plugin/dynflow.pp
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,12 @@

$service = 'foreman-proxy'

systemd::service_limits { "${service}.service":
limits => {
systemd::manage_dropin { "${service}-90-limits.conf":
unit => $service,
filename => '90-limits.conf',
service_entry => {
'LimitNOFILE' => $open_file_limit,
},
restart_service => false,
notify => Service[$service],
notify_service => true,
}
}

0 comments on commit 8dad4fd

Please sign in to comment.