Commit 7ff3316d authored by ale's avatar ale
Browse files

Use S6 instead of chaperone

parent 191e7015
Pipeline #22055 failed with stage
in 21 seconds
......@@ -7,13 +7,11 @@ COPY smtpd.go .
RUN go build -o smtpd smtpd.go
# Stage 2: build the final container
COPY /tmp/
COPY ai-lurker-ui.patch /tmp/ai-lurker-ui.patch
COPY conf/ /etc/
COPY --from=build /go/src/smtpd /usr/bin/smtpd
RUN /tmp/ && rm /tmp/ /tmp/ai-lurker-ui.patch
COPY logo.png /var/lib/lurker-www-orig/logo.png
ENTRYPOINT ["/usr/local/bin/chaperone"]
lurker-prune.service: {
type: cron,
interval: "*/15 * * * *",
command: "/usr/bin/lurker-prune",
smtpd.service: {
command: "/usr/bin/smtpd",
exit_kills: true,
lurker_setup.service: {
type: oneshot,
stdout: inherit,
service_groups: INIT,
process_timeout: 60,
command: "/",
while true; do
sleep $period
#!/usr/bin/execlineb -S0
s6-svscanctl -t /var/run/s6/services
exec /usr/bin/smtpd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment