mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
* add srs support * change autorestart behavior * this may work now * make postsrsd’s own wrapper file * fix dockerfile formatting * fixing tests
This commit is contained in:
parent
3b7fc5930c
commit
e1e4542390
6 changed files with 70 additions and 3 deletions
8
target/postsrsd-wrapper.sh
Normal file
8
target/postsrsd-wrapper.sh
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# postsrsd-wrapper.sh, version 0.1.0
|
||||
|
||||
DOMAINNAME="$(hostname -d)"
|
||||
sed -i -e "s/localdomain/$DOMAINNAME/g" /etc/default/postsrsd
|
||||
|
||||
/etc/init.d/postsrsd start
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue