Skip to content

Commit e2c75ec

Browse files
Update HA add-on to use s6 overlay structure for service management
1 parent f802696 commit e2c75ec

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

ha-addon/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /usr/bin/srne .
1212
FROM ${BUILD_FROM}
1313

1414
COPY --from=builder /usr/bin/srne /usr/bin/srne
15-
COPY ha-addon/run.sh /
15+
COPY ha-addon/run.sh /etc/services.d/srne/run
1616

17-
RUN chmod a+x /run.sh
18-
19-
CMD ["/run.sh"]
17+
RUN chmod a+x /etc/services.d/srne/run

0 commit comments

Comments
 (0)