You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
426 B

{% from 'sentry/common.jinja2' import sentry_bin_dir, sentry_cfg_dir, sentry_venv_dir -%}
[Unit]
Description=Sentry Main Service
After=network.target
Requires=sentry-worker.service
Requires=sentry-cron.service
[Service]
Type=simple
User=sentry
Group=sentry
WorkingDirectory={{ sentry_venv_dir }}
Environment=SENTRY_CONF={{ sentry_cfg_dir }}
ExecStart={{ sentry_bin_dir }}/sentry run web
[Install]
WantedBy=multi-user.target