Skip to content

Instantly share code, notes, and snippets.

@Strykar
Last active September 30, 2021 11:58
Show Gist options
  • Select an option

  • Save Strykar/9b488b2b82ab74c6c39d5f4c8b8e0e8b to your computer and use it in GitHub Desktop.

Select an option

Save Strykar/9b488b2b82ab74c6c39d5f4c8b8e0e8b to your computer and use it in GitHub Desktop.
Livepeer systemd service
[Unit]
Description=Start the Go-Livepeer Orchestrator and Transcoder service
After=network.target
Wants=network-online.target
# See https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/
[Service]
Restart=always
Type=simple
EnvironmentFile=/etc/go-livepeer/environment
ExecStart=/usr/bin/livepeer -network mainnet -orchestrator -transcoder \
-maxSessions $sesh -cliAddr $cliaddr -nvidia $nvd -ethAcctAddr $ethaddr \
-ethPassword $ethpass -ethUrl $ethurl -pricePerUnit $unitprice \
-serviceAddr $serviceaddr -maxGasPrice $maxgas -reward=$rew -monitor=$mon
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment