Browse Source

Absolute path

Bob Mottram 8 years ago
parent
commit
ce3761afcb
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-app-mailpile

+ 1
- 1
src/freedombone-app-mailpile View File

187
     echo 'User=mailpile' >> /etc/systemd/system/etherpad.service
187
     echo 'User=mailpile' >> /etc/systemd/system/etherpad.service
188
     echo 'Group=mailpile' >> /etc/systemd/system/etherpad.service
188
     echo 'Group=mailpile' >> /etc/systemd/system/etherpad.service
189
     echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/htdocs" >> /etc/systemd/system/mailpile.service
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
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service
191
     echo 'Restart=always' >> /etc/systemd/system/mailpile.service
192
     echo 'RestartSec=10' >> /etc/systemd/system/mailpile.service
192
     echo 'RestartSec=10' >> /etc/systemd/system/mailpile.service
193
     echo '' >> /etc/systemd/system/mailpile.service
193
     echo '' >> /etc/systemd/system/mailpile.service