Skip to contentSkip to conversation

How to start mlmmj as a service on Ubuntu 16.04

mlmmj Dave Nelson 5 participants 5 messages Nov 5, 2019

lore
Share & tools
lore
#0 lore raw

Hello,
I have installed mlmmj, but it is not started as a service on Ubuntu 16.04 (systemd). Please would anyone have instructions/advice about how to start mlmmj at boot time on Ubuntu 16.04? With many thanks in advance for any help,
Dave

#1 lore raw
Quoted 7 lines · Dave Nelson

Hello,
I have installed mlmmj, but it is not started as a service on Ubuntu 16.04 (systemd).
Please would anyone have instructions/advice about how to start mlmmj at boot time on Ubuntu 16.04?
With many thanks in advance for any help,
Dave

mlmmj is not a service. It is run by your mail server. Configure a popular mail server (eg, postfix), and read then follow the directions here:

http://mlmmj.org/docs/readme-postfix/

If you prefer a different mail server, then follow (or adapt) the directions for those.

Signature · 1 line
    Ori Bernstein
#2 lore raw
In reply to Dave Nelson
Quoted 10 lines · Ori Bernstein
Quoted 7 lines · Dave Nelson

Hello,
I have installed mlmmj, but it is not started as a service on Ubuntu 16.04 (systemd).
Please would anyone have instructions/advice about how to start mlmmj at boot time on Ubuntu 16.04?
With many thanks in advance for any help,
Dave

Quoted 7 lines

mlmmj is not a service. It is run by your mail server. Configure a popular mail server (eg, postfix), and read then follow the directions here:

http://mlmmj.org/docs/readme-postfix/

If you prefer a different mail server, then follow (or adapt) the directions for those.

Quite correct, but it does prompt a related question. There is mention in the documentation of running mlmmj-maintd as a service, but how would this be done? Is it advantageous, relative to running maintd with cron?

#3 lore raw
In reply to Dave Nelson
Quoted 3 lines · Martin Brampton

Quite correct, but it does prompt a related question. There is mention in the documentation of running mlmmj-maintd as a service, but how would this be done? Is it advantageous, relative to running maintd with cron?

It’s hard to think of good ideas to not just use cron, if it’s there. Why run more daemons than necessary on the server? It’s more a historical reason that it’s not default to fork to the background, and I think I wanted to make it the default at some point, but never got around to it.

Signature · 2 lines
Mads Martin Jørgensen
“Why make things difficult, when it is possible to make them cryptic and totally illogical, with just a little bit more effort?” - A. P. J
#4 lore raw
In reply to Dave Nelson
Quoted 4 lines · Martin Brampton

Quite correct, but it does prompt a related question. There is mention in the documentation of running mlmmj-maintd as a service, but how would this be done? Is it advantageous, relative to running maintd with cron?

I think it is better to run fewer, well tested deamons than have every single piece of software manage itself. So I'd go for cron for periodic things like maintenance - or systemd timer if I am being facetious :-)

Signature · 1 line
Piotr "Malgond" Auksztulewicz                     [email protected]