blob: 5dac1f0269c5beb161561d4a3eb021f1e9373a8b [file] [log] [blame]
{%- from "linux/map.jinja" import network with context %}
{%- set service = salt['pillar.get']('supervisor:server:service:'+service_name) %}
[program:{{ service.type }}_{{ service.name }}]
command=redis-sentinel /etc/redis/sentinel.conf
stdout_logfile=/var/log/redis/redis-sentinel.out.log
stderr_logfile=/var/log/redis/redis-sentinel.err.log
autostart=true
autorestart=true