The init script used by emonhub to start the service is in sysv and with ubuntu 15.10 is using systemd. In order to make the service start at boot time I have done the following:
Create the file emonhub.service in /etc/systemd/system with:
Ubuntu in 15.10 still gives backward support do sysv script but for some
reason it doesn’t work with emonhub script. One thing that doesn’t help is
the fact that the LSB header of the script is not the first in the header
of the file.
Thanks everyone for this project … i just did something very small here
A 23 de Julho de 2016 00:46:38 Glyn Hudson [email protected] escreveu:
@pb66 what are your thoughts about upgrading emonhub from init service to systemd (see above). This seems to be the way forward and is required for 15.10 as @slackluis reports.
Has anyone else confirmed this to be the case with Ubuntu 15.10? or tried to get it working?
It shouldn’t be mandatory due to backward compatibility, but yes if I was actively developing emonHub it would be on my agenda, but behind a long string of far more important considerations.
Did any more come of this? I am in the process of building a new Pi server for EmonCMS (amongst other things) and I’d like to just go to systemd wherever possible.