|
|
|
|
190
|
echo 'After=syslog.target network.target nginx.target' >> /etc/systemd/system/mailpile.service
|
190
|
echo 'After=syslog.target network.target nginx.target' >> /etc/systemd/system/mailpile.service
|
191
|
echo '' >> /etc/systemd/system/mailpile.service
|
191
|
echo '' >> /etc/systemd/system/mailpile.service
|
192
|
echo '[Service]' >> /etc/systemd/system/mailpile.service
|
192
|
echo '[Service]' >> /etc/systemd/system/mailpile.service
|
193
|
- echo 'User=mailpile' >> /etc/systemd/system/etherpad.service
|
|
|
194
|
- echo 'Group=mailpile' >> /etc/systemd/system/etherpad.service
|
|
|
|
|
193
|
+ echo 'User=mailpile' >> /etc/systemd/system/mailpile.service
|
|
|
194
|
+ echo 'Group=mailpile' >> /etc/systemd/system/mailpile.service
|
195
|
echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/htdocs" >> /etc/systemd/system/mailpile.service
|
195
|
echo "WorkingDirectory=/var/www/$MAILPILE_DOMAIN_NAME/htdocs" >> /etc/systemd/system/mailpile.service
|
196
|
echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/htdocs/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
|
196
|
echo "ExecStart=/var/www/$MAILPILE_DOMAIN_NAME/htdocs/mp --www=0.0.0.0:${MAILPILE_PORT} --wait" >> /etc/systemd/system/mailpile.service
|
197
|
echo 'Restart=always' >> /etc/systemd/system/mailpile.service
|
197
|
echo 'Restart=always' >> /etc/systemd/system/mailpile.service
|