|
@@ -187,7 +187,7 @@ function install_mailpile {
|
187
|
187
|
echo 'User=mailpile' >> /etc/systemd/system/etherpad.service
|
188
|
188
|
echo 'Group=mailpile' >> /etc/systemd/system/etherpad.service
|
189
|
189
|
echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/htdocs" >> /etc/systemd/system/mailpile.service
|
190
|
|
- echo "ExecStart=./mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
|
|
190
|
+ echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/htdocs/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
|
191
|
191
|
echo 'Restart=always' >> /etc/systemd/system/mailpile.service
|
192
|
192
|
echo 'RestartSec=10' >> /etc/systemd/system/mailpile.service
|
193
|
193
|
echo '' >> /etc/systemd/system/mailpile.service
|