Completed clean root directory structure: - Root now contains only: .git, .env, docs/, orig/ - Moved all remaining files and directories to orig/: - Config files (.claude, .dockerignore, .drone.yml, etc.) - All .env variants (except active .env) - Git config (.gitconfig, .github, .gitignore, etc.) - Tool configs (.golangci.yml, .revive.toml, etc.) - Documentation (*.md files, @prompts) - Build files (Dockerfiles, Makefile, go.mod, go.sum) - Docker compose files - All source directories (scripts, tests, tools, etc.) - Runtime directories (logs, monitoring, reports) - Dependency files (node_modules, lib, cache) - Special files (--delete) - Removed empty runtime directories (bin/, data/) V2 structure is now clean: - docs/planning/ - V2 planning documents - orig/ - Complete V1 codebase preserved - .env - Active environment config (not in git) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
28 lines
696 B
Desktop File
28 lines
696 B
Desktop File
[Unit]
|
|
Description=MEV Bot Auto-Update Service
|
|
After=network-online.target docker.service
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=/docker/mev-beta
|
|
ExecStart=/docker/mev-beta/scripts/auto-update.sh
|
|
StandardOutput=append:/docker/mev-beta/logs/auto-update.log
|
|
StandardError=append:/docker/mev-beta/logs/auto-update.log
|
|
|
|
# Environment variables (optional)
|
|
# Environment="WEBHOOK_URL=https://your-webhook-url"
|
|
# Environment="GIT_BRANCH=master"
|
|
# Environment="GIT_REMOTE=origin"
|
|
|
|
# Security settings
|
|
User=root
|
|
Group=docker
|
|
|
|
# Prevent service from failing if update fails
|
|
# This ensures the timer continues to run
|
|
SuccessExitStatus=0 1
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|