- Update dbis_core, cross-chain-pmm-lps, explorer-monorepo, metamask-integration, pr-workspace/chains - Omit embedded publish git dirs and empty placeholders from index Made-with: Cursor
28 lines
846 B
Desktop File
28 lines
846 B
Desktop File
# Example unit — legacy OP Stack op-geth execution client.
|
|
# Prefer op-reth for new deployments; op-geth is approaching end-of-support.
|
|
# Install: copy to /etc/systemd/system/, edit paths, `systemctl daemon-reload && systemctl enable --now ...`
|
|
#
|
|
# Replace:
|
|
# /opt/op-stack — install root
|
|
# opuser — unprivileged user
|
|
# /etc/op-stack/sequencer.env — EnvironmentFile (RPC URLs, JWT, flags; no keys in world-readable files)
|
|
|
|
[Unit]
|
|
Description=OP Stack op-geth (legacy) — example
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=opstack
|
|
Group=opstack
|
|
WorkingDirectory=/opt/op-stack
|
|
EnvironmentFile=-/etc/op-stack/sequencer.env
|
|
# ExecStart=/opt/op-stack/bin/geth ... (legacy fallback only; prefer op-reth)
|
|
ExecStart=/bin/false
|
|
Restart=on-failure
|
|
RestartSec=10
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|