forked from stove/dataset
8 lines
481 B
Desktop File
8 lines
481 B
Desktop File
[Unit]
|
|
After=network-online.target
|
|
Before=risotto.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
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'
|