Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/templates/swh/deploy/worker/parameters.conf.erb
# Managed by puppet - modifications will be overwritten | # Managed by puppet - modifications will be overwritten | ||||
# In defined class profile::swh::deploy::worker::instance | # In defined class profile::swh::deploy::worker::instance | ||||
[Service] | [Service] | ||||
Environment=CONCURRENCY=<%= @concurrency %> | Environment=CONCURRENCY=<%= @concurrency %> | ||||
Environment=MAX_TASKS_PER_CHILD=<%= @max_tasks_per_child %> | Environment=MAX_TASKS_PER_CHILD=<%= @max_tasks_per_child %> | ||||
Environment=LOGLEVEL=<%= @loglevel %> | Environment=LOGLEVEL=<%= @loglevel %> | ||||
<%- if !@sentry_dsn.nil? and !@sentry_dsn.empty? -%> | <%- if !@sentry_dsn.nil? and !@sentry_dsn.empty? -%> | ||||
Environment=SWH_SENTRY_DSN=<%= @sentry_dsn %> | Environment=SWH_SENTRY_DSN=<%= @sentry_dsn %> | ||||
<%- end -%> | <%- end -%> | ||||
<%- if !@sentry_environment.nil? and !@sentry_environment.empty? -%> | |||||
Environment=SWH_SENTRY_ENVIRONMENT=<%= @sentry_environment %> | |||||
<%- end -%> | |||||
<%- if !@sentry_swh_package.nil? and !@sentry_swh_package.empty? -%> | |||||
Environment=SWH_MAIN_PACKAGE=<%= @sentry_swh_package %> | |||||
<%- end -%> | |||||
<% if @limit_no_file %> | <% if @limit_no_file %> | ||||
LimitNOFILE=<%= @limit_no_file %> | LimitNOFILE=<%= @limit_no_file %> | ||||
<% end %> | <% end %> | ||||
<% if @private_tmp %> | <% if @private_tmp %> | ||||
PrivateTmp=<%= @private_tmp %> | PrivateTmp=<%= @private_tmp %> | ||||
<% end %> | <% end %> |