Last active
September 30, 2021 11:58
-
-
Save Strykar/9b488b2b82ab74c6c39d5f4c8b8e0e8b to your computer and use it in GitHub Desktop.
Livepeer systemd service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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