mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
Update CLI for genesis Fix import paths from ethereum/go-ethereum to luxfi/geth - Replace all ethereum/go-ethereum imports with luxfi/geth - Add local rawdb package for unexported constants - Fix build errors in genesis tools - Add comprehensive migration documentation - Create build-all.sh script for building all tools - Clean up duplicate functions and unused imports Fix remaining imports Update CLI Remove symlink Remove local replace directives Update Update old templates
22 lines
548 B
Bash
22 lines
548 B
Bash
#!/usr/bin/env bash
|
|
|
|
# Provide docker-compose systemctl unit file
|
|
cat << EOF | sudo tee /etc/systemd/system/lux-cli-docker.service
|
|
[Unit]
|
|
Description=Lux CLI Docker Compose Service
|
|
Requires=docker.service
|
|
After=docker.service
|
|
|
|
[Service]
|
|
User=ubuntu
|
|
Group=ubuntu
|
|
Restart=on-failure
|
|
ExecStart=/usr/bin/docker compose -f /home/ubuntu/.lux-cli/services/docker-compose.yml up
|
|
ExecStop=/usr/bin/docker compose -f /home/ubuntu/.lux-cli/services/docker-compose.yml down
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
EOF
|
|
|
|
sudo systemctl enable lux-cli-docker.service
|