Absolute path

This commit is contained in:
Bob Mottram 2016-11-06 14:23:04 +00:00
parent db96218814
commit ce3761afcb
1 changed files with 1 additions and 1 deletions

View File

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