Skip to content

Systemd Setup

Carter Nelson edited this page May 24, 2020 · 3 revisions

Use this for auto-running a boot menu screen, etc.

Unit File

/lib/systemd/system/picamera_bootmenu.service

[Unit]
Description=Pi Camera Boot Menu
     
[Service]
ExecStart=/home/pi/rpi-camera/boot_menu.py
StandardOutput=null
     
[Install]
WantedBy=multi-user.target
Alias=mouselogger.service

Enable

should then start after a reboot

sudo systemctl enable picamera_bootmenu.service

Test

just start it manually

sudo systemctl start picamera_bootmenu.service

Clone this wiki locally