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

9 lines
391 B
SYSTEMD
Raw Normal View History

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