From 93000ba570920e3be9400978ccf797c1045b65e0 Mon Sep 17 00:00:00 2001 From: St33v Date: Sun, 25 Sep 2016 16:32:30 +1000 Subject: Update readme.md trying to get link to work --- readme.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index 0e5312b..ddec504 100644 --- a/readme.md +++ b/readme.md @@ -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. -- cgit v1.3