Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Mailman Autostart #25

Closed
shoujii opened this issue Feb 8, 2018 · 3 comments
Closed

Mailman Autostart #25

shoujii opened this issue Feb 8, 2018 · 3 comments

Comments

@shoujii
Copy link

shoujii commented Feb 8, 2018

Gibt es eine Möglichkeit mailman automatisch starten zu lassen?

https://www.npmjs.com/package/node-autostart
hatte ich ausprobiert:
-> npm install -g node-autostart
-> autostart enable -n "mailman" -p "/etc/mailman/" -c "npm start"

allerdings hat das Ganze nicht so geklappt.
Eventuell wäre es auch sinnvoll das Ootb anzubieten :)

Gruß,
Shoujii

@roberwinkler
Copy link

Hi,
I have the same question....

I tried with an rc.local entry

"cd /home/username/mailman &&npm start >/dev/null &"

which starts mailman - and I can connect to /mailman .... However it does not load the database as it looks.

seems a permission problem - if I start as user > it works --- but if I start as root (like rc.local) it does not....

regards
richi

@shoujii
Copy link
Author

shoujii commented Mar 27, 2018

pm2 startup

Does the magic :)

@phiilu
Copy link
Owner

phiilu commented Jun 12, 2018

With docker there is the options with the flag --restart=always and like you already have found out pm2 offers startup scripts 😄

@phiilu phiilu closed this as completed Jun 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants