Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/templates/swh/deploy/graph/swh-graph.service.erb
- This file was moved from site-modules/profile/templates/swh/deploy/graph/swhgraphdev.service.erb.
# Managed by puppet class profile::swh::deploy::graph | # Managed by puppet class profile::swh::deploy::graph | ||||
# Changes will be overwritten | # Changes will be overwritten | ||||
[Unit] | [Unit] | ||||
Description=swh graph | Description=swh-graph HTTP server | ||||
After=swhgraphshm.service | After=swh-graph-shm-mount.service | ||||
Requires=swhgraphshm.service | Requires=swh-graph-shm-mount.service | ||||
[Service] | [Service] | ||||
<%- 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? -%> | <%- if !@sentry_environment.nil? and !@sentry_environment.empty? -%> | ||||
Environment=SWH_SENTRY_ENVIRONMENT=<%= @sentry_environment %> | Environment=SWH_SENTRY_ENVIRONMENT=<%= @sentry_environment %> | ||||
<%- end -%> | <%- end -%> | ||||
Show All 10 Lines |