[Cups-dev] Initial add

This commit is contained in:
Max Winterstein
2023-10-05 21:55:31 +02:00
parent 420ec96855
commit 77f903e4de
25 changed files with 399 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/with-contenv bashio
ulimit -n 1048576
bashio::log.info "Starting Avahi daemon from S6"
until [ -e /run/dbus/system_bus_socket ]; do
sleep 1s
done
avahi-daemon

View File

@@ -0,0 +1 @@
longrun

View 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

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1,7 @@
#!/usr/bin/with-contenv bashio
ulimit -n 1048576
bashio::log.info "Starting DBUS daemon from S6"
dbus-daemon --system --nofork

View File

@@ -0,0 +1 @@
longrun

View File

@@ -0,0 +1 @@
oneshot

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bashio
mkdir -p /var/run/dbus