feat: init

This commit is contained in:
nyyu 2024-04-30 08:31:10 +02:00
commit b1bfed4a2d
19 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,2 @@
setup
homebridge

View file

@ -0,0 +1,5 @@
#!/command/with-contenv sh
[ -e /homebridge/homebridge.log ] || touch /homebridge/homebridge.log
exec tail -f --follow=name /homebridge/homebridge.log

View file

@ -0,0 +1 @@
longrun

View file

@ -0,0 +1,2 @@
userdata
setup

View file

@ -0,0 +1,11 @@
#!/command/with-contenv sh
export HOME=/home/homebridge
export USER=root
export HOMEBRIDGE_CONFIG_UI=1
# this is not necessarily the ui version, it's now used as a feature compatibility indicator
export CONFIG_UI_VERSION=4.44.2
# start homebridge
exec /opt/homebridge/start.sh --allow-root

View file

@ -0,0 +1 @@
longrun

View file

@ -0,0 +1 @@
oneshot

View file

@ -0,0 +1 @@
/etc/s6-overlay/scripts/setup.sh

View file

@ -0,0 +1 @@
setup

View file

@ -0,0 +1 @@
oneshot

View file

@ -0,0 +1 @@
/etc/s6-overlay/scripts/userdata.sh