+ csp_enforce true
+end
+
+systemd_service "rails-jobs@" do
+ description "Rails job queue runner"
+ type "simple"
+ environment "QUEUE" => "%I"
+ user "rails"
+ working_directory rails_directory
+ exec_start "/usr/local/bin/bundle#{ruby_version} exec rake jobs:work"
+ restart "on-failure"
+ private_tmp true
+ private_devices true
+ protect_system "full"
+ protect_home true
+ no_new_privileges true