Files
proxmox/config/systemd/op-stack-op-node.example.service

22 lines
574 B
SYSTEMD
Raw Normal View History

# Example unit — op-node (consensus) paired with an execution client such as op-reth.
# See https://docs.optimism.io/chain-operators/getting-started
[Unit]
Description=OP Stack op-node — example
After=network-online.target op-stack-op-reth.service
Wants=network-online.target
[Service]
Type=simple
User=opstack
Group=opstack
WorkingDirectory=/opt/op-stack
EnvironmentFile=-/etc/op-stack/op-node.env
# ExecStart=/opt/op-stack/bin/op-node ... (rollup.json, L1 RPC, engine auth)
ExecStart=/bin/false
Restart=on-failure
RestartSec=10
[Install]
WantedBy=multi-user.target