Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running mailrise as service fails #131

Open
webdb22 opened this issue Oct 11, 2024 · 0 comments
Open

Running mailrise as service fails #131

webdb22 opened this issue Oct 11, 2024 · 0 comments

Comments

@webdb22
Copy link

webdb22 commented Oct 11, 2024

I've installed mailrise using PyPI as recommended:

$ pip install mailrise

and did a basic configuration. Starting it from the command line works fine:

$ /home/sysadmin/.local/bin/mailrise -v /etc/mailrise.conf

When trying to configure it as service on Ubuntu following the suggested systemd unit file, mailrise fails to start:

systemd[1]: Started Mailrise SMTP notification relay.
mailrise[482883]: Traceback (most recent call last):
mailrise[482883]:   File "/home/[user]/.local/bin/mailrise", line 5, in <module>
mailrise[482883]:     from mailrise.skeleton import run
mailrise[482883]: ModuleNotFoundError: No module named 'mailrise'
systemd[1]: mailrise.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: mailrise.service: Failed with result 'exit-code'.

Any hint to resolve the issue would be appreciated, thanks!

Environment:

  • Ubuntu 22.04.5 LTS
  • Python 3.10.12
  • mailrise 1.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant