Initial commit
This commit is contained in:
commit
936153fa99
8 changed files with 220 additions and 0 deletions
13
images/prosody/entrypoint.sh
Executable file
13
images/prosody/entrypoint.sh
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
cp -r /config/prosody.cfg.lua /config/conf.d/ /etc/prosody/
|
||||
mkdir -p /run/prosody
|
||||
mkdir -p /var/www
|
||||
chown -fR prosody:prosody /run/prosody /var/www
|
||||
chmod 755 -R /etc/prosody
|
||||
|
||||
prosodyctl --root cert import /etc/letsencrypt/live
|
||||
/usr/sbin/anacron -d &
|
||||
|
||||
runuser -u prosody /usr/bin/prosody $@ 2>&1
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue