geerlingguy / geerlingguy/pi-camera

Use crontab rather than systemd for starting the camera up on boot

Open
#5 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
135
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Why use a systemd module rather than using a crontab entry like this:

```
@reboot bash -c "export DISPLAY=:0; libcamera-hello -t 0 --autofocus-mode continuous"
```
I think that having a crontab script is easier than creating a systemd module.

Edit: seems like you want to load up the desktop before starting the camera.
Please refer to this link: https://forums.raspberrypi.com/viewtopic.php?t=294014

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.