| 1 |
[Unit] |
| 2 |
Description=mailcatcher daemon |
| 3 |
After=network.target |
| 4 |
Documentation=file:///usr/share/doc/mailcatcher/README.md.gz |
| 5 |
Documentation=man:mailcatcher(1) |
| 6 |
|
| 7 |
[Service] |
| 8 |
Type=exec |
| 9 |
EnvironmentFile=/etc/default/mailcatcher |
| 10 |
ExecStart=/usr/bin/mailcatcher --foreground --no-quit \ |
| 11 |
--http-ip "${HTTP_IP}" \ |
| 12 |
--http-path "${HTTP_PATH}" \ |
| 13 |
--http-port "${HTTP_PORT}" \ |
| 14 |
--smtp-ip "${SMTP_IP}" \ |
| 15 |
--smtp-port "${SMTP_PORT}" |
| 16 |
User=_mailcatcher |
| 17 |
DynamicUser=yes |
| 18 |
|
| 19 |
[Install] |
| 20 |
WantedBy=multi-user.target |