dataset/seed/redis-client/templates/redis-client.service

9 lines
481 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
After=network-online.target
Before=risotto.target
[Service]
Type=oneshot
2023-06-23 08:10:03 +02:00
User={{ general.redis.redis_client_key_owner }}
ExecStart=/usr/bin/timeout 90 bash -c 'while ! /usr/bin/redis-cli --tls -a {{ general.redis.redis_client_password }} --cacert {{ general.tls_ca_directory }}/Redis.crt --cert {{ general.tls_cert_directory }}/redis.crt --key {{ general.tls_key_directory }}/redis.key -h {{ general.redis.redis_client_server_domainname }} -p 6380 PING; do sleep 1; done'