copy from official addon
This commit is contained in:
15
grafana/rootfs/etc/s6-overlay/s6-rc.d/memcached/run
Executable file
15
grafana/rootfs/etc/s6-overlay/s6-rc.d/memcached/run
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/command/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
# ==============================================================================
|
||||
# Home Assistant Community Add-on: Grafana
|
||||
# Runs the memcached Server
|
||||
# ==============================================================================
|
||||
declare -a options
|
||||
|
||||
bashio::log.info 'Starting Memcached...'
|
||||
|
||||
options+=(-l 127.0.0.1)
|
||||
options+=(-m 32)
|
||||
|
||||
# Run Memcached
|
||||
exec s6-setuidgid memcache /usr/bin/memcached "${options[@]}"
|
||||
Reference in New Issue
Block a user