课程: Raspberry Pi Weekly

免费学习该课程!

今天就开通帐号,24,600 门业界名师课程任您挑!

Use systemd to start programs at boot

Use systemd to start programs at boot - Raspberry Pi教程

课程: Raspberry Pi Weekly

Use systemd to start programs at boot

- [Mark Niemann-Ross] In a previous Raspberry Pi Weekly session, we talked about how to start a program at Buddha. Specifically, we talked about autostart and opening a file that required a desktop environment. This week let's explore systemd and related commands which is the preferred way to run programs at boot, but it is a bit more complex to set up and has one significant drawback. Hi, I'm Mark Niemann-Ross and welcome to this week's edition of Raspberry Pi Weekly. Every week we explore the Raspberry Pi and share useful tips. If you look up how to start a program at boot you're going to bump into a lot of different methods. Two of these, init.d and rc.local, have been replaced by systemd. Rc.local and init.d might still run, but you should spend your time learning to implement systemd, at least on the on the Raspberry Pi operating system. Systemd is a way to start programs when the Raspberry Pi boots and here's…

内容