desertfireballnetwork / freeture_DFN

DFN branch of FRIPON Freeture, to operate DFNEXT all-sky video camera
http://fripon.github.io/freeture
GNU General Public License v3.0
5 stars 0 forks source link

Service start script not reliable, log files sometimes missing #7

Open MartinCupak opened 4 years ago

MartinCupak commented 4 years ago

The service start script evolved as system 5 init script, but the primary services managing system now is systemd. Although sysV init scripts are still supported, for whatever reason, they do not work reliably. freeture service is not always started on boot.

The intended fix is to write a regular systemd script instead.

MartinCupak commented 4 years ago

Scripts seems to be working OK, however, freeture prints whole lot of rubbish to stdout, which needs to be disabled in the freeture binary itself - because in the systemd service script we do not want to start it via bash daemon script.