From: Grant Slater Date: Fri, 21 Dec 2018 13:07:22 +0000 (+0000) Subject: Revert "systemd: fix property limit_cpu type" X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/da307b707a65fb3bc4d4eb3a2dacb9a5a20ecbd0 Revert "systemd: fix property limit_cpu type" This reverts commit 64602183a4d489484086f51b5cb4ad6f3dd59387. --- diff --git a/cookbooks/systemd/resources/service.rb b/cookbooks/systemd/resources/service.rb index 66bf7935c..c2d125b18 100644 --- a/cookbooks/systemd/resources/service.rb +++ b/cookbooks/systemd/resources/service.rb @@ -28,7 +28,7 @@ property :type, String, :is => %w[simple forking oneshot dbus notify idle] property :limit_nofile, Integer property :limit_as, [Integer, String] -property :limit_cpu, Integer +property :limit_cpu, [Integer, String] property :memory_low, [Integer, String] property :memory_high, [Integer, String] property :memory_max, [Integer, String]