Sha256: c68b3412124051ed04fce137c59f5b1256ba3198849c95e7e9bbb7049045b451

Contents?: true

Size: 260 Bytes

Versions: 18

Compression:

Stored size: 260 Bytes

Contents

#!/bin/bash

if [ -z "$CONFIG_RELOAD_INTERVAL" ]; then
    # Just stop and do nothing
    sleep infinity
fi

while true; do
    sleep $CONFIG_RELOAD_INTERVAL
    echo "Reloading config..."
    curl -s http://localhost:8888/reload?format=json -O /dev/null
done

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
oxidized-0.31.0 extra/auto-reload-config.runit
oxidized-0.30.1 extra/auto-reload-config.runit
oxidized-0.30.0 extra/auto-reload-config.runit
oxidized-0.29.1 extra/auto-reload-config.runit
oxidized-0.29.0 extra/auto-reload-config.runit
oxidized-0.28.0 extra/auto-reload-config.runit
oxidized-0.27.0 extra/auto-reload-config.runit
oxidized-0.26.3 extra/auto-reload-config.runit
oxidized-0.26.2 extra/auto-reload-config.runit
oxidized-0.26.1 extra/auto-reload-config.runit
oxidized-0.26.0 extra/auto-reload-config.runit
oxidized-0.25.1 extra/auto-reload-config.runit
oxidized-0.25.0 extra/auto-reload-config.runit
oxidized-0.24.0 extra/auto-reload-config.runit
oxidized-0.23.0 extra/auto-reload-config.runit
oxidized-0.22.0 extra/auto-reload-config.runit
oxidized-0.21.0 extra/auto-reload-config.runit
oxidized-0.20.0 extra/auto-reload-config.runit