#
-# Cookbook Name:: systemd
+# Cookbook:: systemd
# Resource:: systemd_service
#
-# Copyright 2016, OpenStreetMap Foundation
+# Copyright:: 2016, OpenStreetMap Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
property :private_network, [TrueClass, FalseClass]
property :protect_system, [TrueClass, FalseClass, String]
property :protect_home, [TrueClass, FalseClass, String]
+property :restrict_address_families, [String, Array]
property :no_new_privileges, [TrueClass, FalseClass]
+property :tasks_max, Integer
property :timeout_sec, Integer
property :pid_file, String
+property :nice, Integer
+property :io_scheduling_class, [Integer, String]
+property :io_scheduling_priority, Integer
action :create do
service_variables = new_resource.to_hash