summarylogtreecommitdiffstats
path: root/livepeer.service
blob: 47171cccc5b9bd1ad80f48e69ad4dc80e6325363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=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