chore(shell-sync): Makefile scaffolding
This commit is contained in:
1 parent
49d8165ee2
commit
d272b3c8e0
1 file changed
+16
@@ -55,3 +55,19 @@ sync:
|
||||
fi
|
||||
docker compose exec imapsync sync.sh sync $(ACCOUNT)
|
||||
|
||||
# Force a full batch now (all configured accounts)
|
||||
sync-all:
|
||||
docker compose exec imapsync sync.sh sync-all
|
||||
|
||||
# Enter container shell
|
||||
shell:
|
||||
docker compose exec imapsync sync.sh shell
|
||||
|
||||
# Clean up
|
||||
clean:
|
||||
docker compose down -v
|
||||
rm -rf logs/*.log logs/*.last_* logs/.heartbeat logs/.notification_failed
|
||||
|
||||
# One-shot sync (build, run once, exit)
|
||||
once:
|
||||
ONCE=true docker compose up --build --abort-on-container-exit
|
||||
Reference in new issue
Block a user