mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-04-05 06:13:12 +01:00
[Cups-dev] Initial add
This commit is contained in:
12
cups-dev/rootfs/etc/s6-overlay/s6-rc.d/cups-server/run
Normal file
12
cups-dev/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
|
||||
|
||||
1
cups-dev/rootfs/etc/s6-overlay/s6-rc.d/cups-server/type
Normal file
1
cups-dev/rootfs/etc/s6-overlay/s6-rc.d/cups-server/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
||||
Reference in New Issue
Block a user