- Organized 252 files across project - Root directory: 187 → 2 files (98.9% reduction) - Moved configuration guides to docs/04-configuration/ - Moved troubleshooting guides to docs/09-troubleshooting/ - Moved quick start guides to docs/01-getting-started/ - Moved reports to reports/ directory - Archived temporary files - Generated comprehensive reports and documentation - Created maintenance scripts and guides All files organized according to established standards.
34 lines
717 B
Desktop File
34 lines
717 B
Desktop File
[Unit]
|
|
Description=RPC Translator Service for ChainID 138
|
|
Documentation=https://github.com/your-org/rpc-translator-138
|
|
After=network.target besu-rpc.service
|
|
Wants=besu-rpc.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/rpc-translator-138
|
|
Environment=NODE_ENV=production
|
|
EnvironmentFile=-/opt/rpc-translator-138/.env
|
|
ExecStart=/usr/bin/node dist/src/main.js
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=rpc-translator-138
|
|
|
|
# Security settings
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/opt/rpc-translator-138
|
|
|
|
# Resource limits
|
|
LimitNOFILE=65536
|
|
MemoryMax=2G
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|