Installing systemd timers
========================

1. Edit the ExecStart paths in each .service file to match where your scripts live.

2. Copy units to the systemd user directory (no root needed):

    mkdir -p ~/.config/systemd/user
    cp sky-cam-*.service sky-cam-*.timer ~/.config/systemd/user/

   Or system-wide (root required):

    sudo cp sky-cam-*.service sky-cam-*.timer /etc/systemd/system/

3. Reload and enable:

    # User-level
    systemctl --user daemon-reload
    systemctl --user enable --now sky-cam-sunrise.timer
    systemctl --user enable --now sky-cam-4seasons.timer
    systemctl --user enable --now sky-cam-fullday.timer

    # System-level (replace --user with no flag, add sudo)
    sudo systemctl daemon-reload
    sudo systemctl enable --now sky-cam-sunrise.timer
    ...

4. Check status:

    systemctl --user list-timers sky-cam-*
    journalctl --user -u sky-cam-4seasons.service -f

Notes
-----
- Persistent=true means missed runs (e.g. system was off at 01:00) are
  caught up on next boot, within the same day.
- montage-mvt.sh and year-end-join.sh are NOT scheduled directly — they
  are triggered automatically by 4-seasons.sh on the appropriate days.
- notify.sh fires inside montage-mvt.sh and year-end-join.sh; it is not
  a separate scheduled job.
