Differential D7950 Diff 28633 site-modules/profile/templates/swh/deploy/journal/swh-indexer-journal-client.service.erb
Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/templates/swh/deploy/journal/swh-indexer-journal-client.service.erb
Show All 10 Lines | |||||
Environment=SWH_SENTRY_DSN=<%= @sentry_dsn %> | Environment=SWH_SENTRY_DSN=<%= @sentry_dsn %> | ||||
<%- end -%> | <%- end -%> | ||||
<%- if !@sentry_environment.nil? and !@sentry_environment.empty? -%> | <%- if !@sentry_environment.nil? and !@sentry_environment.empty? -%> | ||||
Environment=SWH_SENTRY_ENVIRONMENT=<%= @sentry_environment %> | Environment=SWH_SENTRY_ENVIRONMENT=<%= @sentry_environment %> | ||||
<%- end -%> | <%- end -%> | ||||
<%- if !@sentry_swh_package.nil? and !@sentry_swh_package.empty? -%> | <%- if !@sentry_swh_package.nil? and !@sentry_swh_package.empty? -%> | ||||
Environment=SWH_MAIN_PACKAGE=<%= @sentry_swh_package %> | Environment=SWH_MAIN_PACKAGE=<%= @sentry_swh_package %> | ||||
<%- end -%> | <%- end -%> | ||||
Environment=SWH_CONFIG_FILENAME=<%= @config_path %> | |||||
User=<%= @user %> | User=<%= @user %> | ||||
Group=<%= @group %> | Group=<%= @group %> | ||||
Type=simple | Type=simple | ||||
ExecStart=/usr/bin/swh indexer --config-file <%= @config_path %> journal-client '*' | ExecStart=/usr/bin/swh indexer --config-file <%= @config_path %> journal-client | ||||
Restart=always | Restart=always | ||||
RestartSec=10 | RestartSec=10 | ||||
[Install] | [Install] | ||||
WantedBy=multi-user.target | WantedBy=multi-user.target |