blob: c11210662a8bee21c20968dfd687b17bdcd21280 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[Unit]
Description=Start the Go-Livepeer Orchestrator and Transcoder service, edit /etc/go-livepeer/environment
After=network.target
Wants=network-online.target
# See https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/
[Service]
Restart=always
Type=simple
# Before first start, you must edit the environment file with your own orchestrator's info
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
|