mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-04-19 06:13:09 +01:00
[CUPS] Rewrite based on @zajac-grzegorz work (#218)
* [CUPS] Rewrite based on @zajac-grzegorz work * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
12
cups/rootfs/etc/s6-overlay/s6-rc.d/cups-server/run
Normal file
12
cups/rootfs/etc/s6-overlay/s6-rc.d/cups-server/run
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
ulimit -n 1048576
|
||||
|
||||
bashio::log.info "Starting CUPS server from S6"
|
||||
|
||||
until [ -e /var/run/avahi-daemon/socket ]; do
|
||||
sleep 1s
|
||||
done
|
||||
|
||||
cupsd -f
|
||||
|
||||
Reference in New Issue
Block a user