mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
e1e4542390
* add srs support * change autorestart behavior * this may work now * make postsrsd’s own wrapper file * fix dockerfile formatting * fixing tests
9 lines
177 B
Bash
9 lines
177 B
Bash
#!/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
|
|
|