feature: Reorganize files, add server backoff

This commit is contained in:
Keith Solomon
2025-10-19 14:54:48 -05:00
parent d41200d4e2
commit 14490a0f71
5 changed files with 344 additions and 237 deletions

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Monitor and repair CIFS mounts
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/cifs-watch
Nice=10

11
systemd/cifs-watch.timer Normal file
View File

@@ -0,0 +1,11 @@
[Unit]
Description=Run cifs-watch periodically
[Timer]
OnBootSec=2min
OnUnitActiveSec=5min
AccuracySec=30s
Unit=cifs-watch.service
[Install]
WantedBy=timers.target