From ce3761afcb8661200fcd9527046db554940e2664 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 6 Nov 2016 14:23:04 +0000 Subject: [PATCH] Absolute path --- src/freedombone-app-mailpile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-app-mailpile b/src/freedombone-app-mailpile index fb5f01b5..1962b342 100755 --- a/src/freedombone-app-mailpile +++ b/src/freedombone-app-mailpile @@ -187,7 +187,7 @@ function install_mailpile { echo 'User=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 "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 'RestartSec=10' >> /etc/systemd/system/mailpile.service echo '' >> /etc/systemd/system/mailpile.service