diff options
| author | St33v <github@f3rr3t.com> | 2016-09-25 16:32:30 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-09-25 16:32:30 +1000 |
| commit | 93000ba570920e3be9400978ccf797c1045b65e0 (patch) | |
| tree | 7a9e7cdfb33392b9072ca59b31f718dbc505b7dc /readme.md | |
| parent | 8abf3a73b8f8bf4a6d8deb5c48f92540ae857413 (diff) | |
Update readme.md
trying to get link to work
Diffstat (limited to 'readme.md')
| -rw-r--r-- | readme.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -5,25 +5,25 @@ created 25 September 2016 (because of an effective little nag banner in github). # Takepix shell script and Systemd Timer ## Intro -Takepix is a systemd-driven script that takes photos periodically, under the control of a systemd timer. +**Takepix** is a systemd-driven script that takes photos periodically, under the control of a systemd timer. The script runs on a *raspberry pi* with an attached camera module. The Operating System that I use for raspberry pi is [Linux Arch ARM edition](https://archlinuxarm.org). -To take the photos from the camera-equipped raspi, I use another raspi on the same LAN, which is running another service-based script, [getpix](../f3rr3t/getpix). +To take the photos from the camera-equipped raspi, I use another raspi on the same LAN, which is running another service-based script, [getpix](../f3rr3t/raspi-getpix). ## Files File name | Purpose / functions ----------|-------------------- -takepix.timer|A simple timer that calls takepix.service periodically -takepix.service| Systemd service definition that is called by the Timer -takepix.sh|A shell script that takes trhe photo and performs quality checks +takepix.timer|A simple timer that calls **takepix.service** periodically +takepix.service| `Systemd` service definition that is called by the Timer +takepix.sh|A `bash` shell script that takes the photo and performs quality checks The `timer` calls the `service` every 30 minutes, and the service then runs the `shell` script. -I have found it difficult to make system services do anything more fancy than just call a script. +I have found it difficult to make `systemd` services do anything more fancy than just call a script. If you clone this script, you will have to edit the `picdir` variable in the shell script. Note that when you run scripts from a systemd service call, you must provide absolute paths to files or directories. |
