Add Caddy, move mainsail into addon
This commit is contained in:
7
klipper/rootfs/etc/cont-init.d/mainsail.sh
Normal file
7
klipper/rootfs/etc/cont-init.d/mainsail.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
if [ ! -d /data/mainsail ]; then
|
||||
mkdir -p /data/mainsail
|
||||
cd /data/mainsail
|
||||
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
|
||||
fi
|
||||
2
klipper/rootfs/etc/services.d/proxy/run
Normal file
2
klipper/rootfs/etc/services.d/proxy/run
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
|
||||
@@ -30,7 +30,7 @@ trusted_clients:
|
||||
[update_manager]
|
||||
enable_system_updates: False
|
||||
|
||||
# [update_manager mainsail]
|
||||
# type: web
|
||||
# repo: mainsail-crew/mainsail
|
||||
# path: ~/mainsail
|
||||
[update_manager mainsail]
|
||||
type: web
|
||||
repo: mainsail-crew/mainsail
|
||||
path: /data/mainsail
|
||||
|
||||
Reference in New Issue
Block a user