Page 1 of 1

Spamassassin don't auto start

Posted: Fri May 20, 2016 8:29 pm
by colifato
Good morning , this is my first post since yesterday I have installed on my small server VestaCP .

The problem I have is that it does not start automatically each time spamassassin and restart the server (they were 2 times because I was testing some things) I see not automatically start .

When I say small, I mean it's a Celeron 430 with 3GB of RAM : D

What I have to be modified to automatically start ?

From already thank you very much and greetings to all .

PD: i have Ubuntu Server 15.10

Re: Spamassassin don't auto start

Posted: Mon May 23, 2016 7:51 am
by skurudo
Something like this?

Code: Select all

sudo update-rc.d your-service enable

Re: Spamassassin don't auto start

Posted: Sat Apr 08, 2017 2:31 pm
by youradds
Hi,

What would this be for Ubuntu 16? I tried it, and get:
root@com:~# sudo update-rc.d your-service enable
update-rc.d: error: cannot find a LSB script for your-service
Basically the same problem - SA doesn't boot up on a server reboot (if I manually start it, then its fine and stays running, but if I reboot the server it doesn't start)

UPDATE: Never mind,worked it out. Here it is for anyone else coming to this post for help:

Code: Select all

 systemctl enable spamassassin.service
Thanks!

Andy