Uppstart med systemd

Ramp nummer fem är under produktion men som alltid har det hänt saker med Raspbian som kräver lite pill och pyssel. I senaste versionen verkar SysV-uppstarten vara mer eller mindre avvecklad till förmån för systemd. MRTG startar fortfarande via de klassiska init.d-scripten men mina python-snurror för ljus- och temperaturstyrning ville gå igång den vägen längre. Dags att lära sig att göra .service-filer! Jag hittade en bra guide, How To Autorun A Python Script On Boot Using systemd, som fick fart på det hela.

 

Privacy Overview
Elofs projekt

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.