Skip to content

Commit ff3c30b

Browse files
committed
opendkim: use whaleinit
1 parent 0536777 commit ff3c30b

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

opendkim/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ RUN groupmod -g ${OPENDKIM_GID} opendkim && \
99
usermod -u ${OPENDKIM_UID} -g ${OPENDKIM_GID} opendkim
1010
RUN groupadd -g ${POSTFIX_GID} postfix && gpasswd -a opendkim postfix
1111

12-
ENTRYPOINT ["/usr/sbin/opendkim"]
13-
CMD ["-f", "-x", "/etc/opendkim/opendkim.conf"]
12+
RUN wget https://github.com/namachan10777/whaleinit/releases/download/v0.0.4/whaleinit-$(uname -m)-linux-musl -O /whaleinit && \
13+
chmod 755 /whaleinit
14+
15+
ENTRYPOINT ["/whaleinit"]

opendkim/whaleinit.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[[services]]
2+
title = "opendkim"
3+
exec = "/usr/sbin/opendkim"
4+
args = ["-x", "-f", "-x", "/etc/opendkim/opendkim.conf", "-d", "all"]
5+
essential = true
6+
7+
[[services]]
8+
title = "syslogd"
9+
exec = "/usr/sbin/rsyslogd"
10+
args = ["-n", "-O", "/dev/stderr"]

0 commit comments

Comments
 (0)