X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e2d9c76e0d9a32f82f45b7a3d98199eb18405351..1a4d5ffc47ba7efe859b6c867c136347f7bb36af:/cookbooks/systemd/resources/service.rb?ds=sidebyside diff --git a/cookbooks/systemd/resources/service.rb b/cookbooks/systemd/resources/service.rb index e6fba41b5..39abc608e 100644 --- a/cookbooks/systemd/resources/service.rb +++ b/cookbooks/systemd/resources/service.rb @@ -28,6 +28,8 @@ property :type, String, property :limit_nofile, Fixnum property :environment, Hash, :default => {} property :environment_file, String +property :user, String +property :group, String property :exec_start_pre, String property :exec_start, String, :required => true property :exec_start_post, String @@ -36,6 +38,7 @@ property :exec_reload, String property :restart, String, :is => %w(on-success on-failure on-abnormal on-watchdog on-abort always) property :timeout_sec, Fixnum +property :pid_file, String action :create do template "/etc/systemd/system/#{name}.service" do