]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/systemd/resources/service.rb
systemd: add killmode support
[chef.git] / cookbooks / systemd / resources / service.rb
index 4758f7af57f52b07fa056d7536b146b3246d8b5c..dfb6864c5acf180bcaae39bfb18a8fb467609abe 100644 (file)
@@ -65,6 +65,8 @@ property :pid_file, String
 property :nice, Integer
 property :io_scheduling_class, [Integer, String]
 property :io_scheduling_priority, Integer
+property :kill_mode, String,
+         :is => %w[control-group process mixed none]
 
 action :create do
   service_variables = new_resource.to_hash