Skip to content

Commit

Permalink
Add install-certificate step to ejabberd.service
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Nov 22, 2023
1 parent 7f7bcec commit 09d19cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions imageroot/systemd/user/ejabberd.service
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ExecStartPre=/bin/rm -f %t/ejabberd.pid %t/ejabberd.ctr-id
ExecStartPre=-runagent discover-ldap
ExecStartPre=mkdir -vp config
ExecStartPre=-runagent expand-configuration
ExecStartPre=-runagent install-certificate
ExecStartPre=bash -c "while [ ! -f certificates/ejabberd.pem ]; do sleep 1; done"
ExecStartPre=bash -c "while [ ! -f certificates/dh.pem ]; do sleep 1; done"
ExecStartPost=/usr/bin/podman cp certificates/ejabberd.pem ejabberd:conf/ejabberd.pem
Expand Down

0 comments on commit 09d19cb

Please sign in to comment.