- Implement ip-monitor.sh with flock for concurrency and atomic writes - Add IPv4 strict validation and multi-provider (DNS/HTTP) discovery - Configure systemd service with StateDirectory and EnvironmentFile - Add a 15-minute persistent timer for periodic IP checks - Include a run-once.sh bootstrap script for automated deployment
13 lines
251 B
SYSTEMD
13 lines
251 B
SYSTEMD
# This timer is used to run the dynu.service
|
|
# Copy this to /etc/systemd/system/dynu.timer
|
|
[Unit]
|
|
Description=Run Dynu updater periodically
|
|
|
|
[Timer]
|
|
OnBootSec=1min
|
|
OnUnitActiveSec=15min
|
|
AccuracySec=10s
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target |