Rename sunrise_video.10s.sh → daily_sunrise_video.sh
Name no longer implies a fixed duration. Updated all references: install.sh, sky-cam.conf script map, systemd/sky-cam-sunrise.service. https://claude.ai/code/session_01C4jbd3waXG3eKZYbGUjLUQ
This commit is contained in:
+1
-1
@@ -77,7 +77,7 @@ echo " wrote sky-cam-notify-failure@.service"
|
|||||||
# Sunrise video → Mattermost (run after sunrise window ends)
|
# Sunrise video → Mattermost (run after sunrise window ends)
|
||||||
write_service "sky-cam-sunrise" \
|
write_service "sky-cam-sunrise" \
|
||||||
"daily sunrise video → Mattermost" \
|
"daily sunrise video → Mattermost" \
|
||||||
"sunrise_video.10s.sh" \
|
"daily_sunrise_video.sh" \
|
||||||
"After=network-online.target\nWants=network-online.target\n"
|
"After=network-online.target\nWants=network-online.target\n"
|
||||||
write_timer "sky-cam-sunrise" "daily sunrise video" "*-*-* 09:00:00"
|
write_timer "sky-cam-sunrise" "daily sunrise video" "*-*-* 09:00:00"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -37,7 +37,7 @@
|
|||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
#
|
#
|
||||||
# You run / schedule:
|
# You run / schedule:
|
||||||
# sunrise_video.10s.sh — daily at 09:00 (via systemd)
|
# daily_sunrise_video.sh — daily at 09:00 (via systemd)
|
||||||
# grabs today's sunrise images, makes a 10-second
|
# grabs today's sunrise images, makes a 10-second
|
||||||
# video, uploads it to Mattermost
|
# video, uploads it to Mattermost
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -7,6 +7,6 @@ OnFailure=sky-cam-notify-failure@%n.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
# ── Edit this path ────────────────────────────────────────────────────────────
|
# ── Edit this path ────────────────────────────────────────────────────────────
|
||||||
ExecStart=/home/motion/drives/local-2tb/sunrise-scripts/sunrise_video.10s.sh
|
ExecStart=/home/motion/drives/local-2tb/sunrise-scripts/daily_sunrise_video.sh
|
||||||
StandardOutput=journal
|
StandardOutput=journal
|
||||||
StandardError=journal
|
StandardError=journal
|
||||||
|
|||||||
Reference in New Issue
Block a user