Web lists-archives.com

Re: reboot stuff doesn't start

On Wednesday 29 May 2019 12:22:41 am Reco wrote:

> On Tue, May 28, 2019 at 04:52:52PM -0400, Gene Heskett wrote:
> > On Tuesday 28 May 2019 01:32:31 pm Reco wrote:
> > > On Tue, May 28, 2019 at 01:23:45PM -0400, Gene Heskett wrote:
> > > > > End users can remove that '-e' flag if they believe it's
> > > > > problematic. rc.local is a simple shell script, open to all
> > > > > kinds of abuse including this one.

> > How about a daemon that never exits, but does report its pid on the
> > next line when launched with a trailing &
> They call such programs a curious perversion in IT usually.
> Luckily it does not matter for the start-stop-daemon (it can derive
> pid more straightforward way) nor it does matter to systemd (there are
> cgroups for that).

cgroups? whazzat?  I've not noted its having docs to explain its 
potential advantages.

> > I'm also seeing several can't connect to d-bus messages, only ID'd
> > by the pid.  That means whatever its pid is, isn't working.
> Like I wrote earlier - nothing that you put into rc.local belongs
> there. I suppose that the thing is written to be launched from the
> inside the user session, where you have dbus session already.
> Reco

Thats the general idea.  So I've killed the two process's it is, and 
added a shebanged script chmodded +x, to the .trinity/Autostart to run 
it from there with a "~/bin/mailwatcher &" as the second line. I ran it 
and its working from there. And didn't return its [###] pid, a dead 
silent launch, So that should be started after I've logged in at reboot 
time. Theoreticly, not reboot tested yet. I should move another mount 
share startup to there also and will if this works. Gradually cleaning 
out rc.local. I did get spamassassin to run, it was disabled by 

How would I go about disabling n-m with systemctl?

Thanks Reco

Cheers, Gene Heskett
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>