[cups] Update to 2.2.0

This commit is contained in:
Max Winterstein
2023-06-09 23:30:20 +02:00
parent 8bae1322f4
commit 3159e7952d
5 changed files with 16 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
# Changelog
## 2.2.0 -- 09.06.2023
- Try to fix startup issues with OS 10_ / _Docker v23_ - - see [#152](https://github.com/MaxWinterstein/homeassistant-addons/issues/152) for more
## 2.1.0 -- 06.06.2023
- Add more printer drivers - thx to [Eskander](https://github.com/Eskander)

View File

@@ -1,6 +1,6 @@
---
name: CUPS Print Server
version: "2.1.0"
version: "2.2.0"
stage: experimental
slug: cups
image: ghcr.io/maxwinterstein/homeassistant-addon-cups-{arch}

View File

@@ -1,8 +1,10 @@
#!/bin/sh
ulimit -n 1048576
# Wait until D-Bus is up and the init script has mapped in the external hostname
until [ -e /var/run/dbus/system_bus_socket ] && [ -e /var/run/avahi_configured ]; do
sleep 1s
done
exec avahi-daemon
avahi-daemon 2>&1 | mawk -W interactive '{printf "%c[34m[avahi]%c[0m %s\n", 27, 27, $0}'

View File

@@ -1,2 +1,5 @@
#!/bin/sh
exec dbus-daemon --system --nofork
ulimit -n 1048576
dbus-daemon --system --nofork 2>&1 | mawk -W interactive '{printf "%c[31m[dbus]%c[0m %s\n", 27, 27, $0}'

View File

@@ -1,2 +1,5 @@
#!/bin/sh
exec nginx -g "daemon off;"
ulimit -n 1048576
nginx -g "daemon off;" 2>&1 | mawk -W interactive '{printf "%c[35m[nginx]%c[0m %s\n", 27, 27, $0}'