dataset/seed/redis-client/templates/redis-client.service
2022-10-17 18:18:58 +02:00

8 lines
407 B
Desktop File

[Unit]
After=network-online.target
Before=risotto.target
[Service]
Type=oneshot
User=%%redis_client_key_owner
ExecStart=/usr/bin/timeout 90 bash -c 'while ! /usr/bin/redis-cli --tls -a %%redis_client_password --cacert /etc/pki/ca-trust/source/anchors/ca_Redis.crt --cert /etc/pki/tls/certs/redis.crt --key /etc/pki/tls/private/redis.key -h %%redis_client_server_domainname -p 6380 PING; do sleep 1; done'