Bladeren bron

Absolute path

Bob Mottram 8 jaren geleden
bovenliggende
commit
ce3761afcb
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      src/freedombone-app-mailpile

+ 1
- 1
src/freedombone-app-mailpile Bestand weergeven

@@ -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