Make scripts executable

This commit is contained in:
Fredrik Baberg 2022-07-11 23:02:37 +02:00
parent 8b52046133
commit 1012a52afa
4 changed files with 6 additions and 1 deletions

View File

@ -24,3 +24,4 @@ RUN apt update && \
COPY rootfs / COPY rootfs /
RUN chmod +x /etc/cont-init.d/*.sh RUN chmod +x /etc/cont-init.d/*.sh
RUN chmod +x /etc/services.d/*/* RUN chmod +x /etc/services.d/*/*
RUN chmod +x /scripts/*.sh

View File

@ -1,5 +1,5 @@
name: "3DPrinter-OctoPrint" name: "3DPrinter-OctoPrint"
version: "2022.7.019" version: "2022.7.020"
slug: "3dprinter-octoprint" slug: "3dprinter-octoprint"
description: "OctoPrint as an addon, no additional bells and whistles." description: "OctoPrint as an addon, no additional bells and whistles."
url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint" url: "https://github.com/fredrikbaberg/home-assistant-addons/tree/main/3dprinter-octoprint"

View File

@ -1,3 +1,5 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
bashio::log.warning "Restart addon."
bashio::addon.restart bashio::addon.restart

View File

@ -1,3 +1,5 @@
#!/usr/bin/with-contenv bashio #!/usr/bin/with-contenv bashio
bashio::log.warning "Shutdown addon."
bashio::addon.stop bashio::addon.stop