blob: 3abf48170a948ae2338ba9d751a3afd68a66ca16 (
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 $sessions -cliAddr $cliaddr -nvidia $nvidia -ethAcctAddr $ethaddr \
-ethPassword $ethpass -ethUrl $ethurl -pricePerUnit $unitprice \
-serviceAddr $serviceaddr -maxGasPrice $maxgas -reward=$reward -monitor=$monitor
[Install]
WantedBy=multi-user.target
|