17 lines
295 B
Text
17 lines
295 B
Text
|
[Unit]
|
||
|
Description="LBRYnet daemon"
|
||
|
After=network.target
|
||
|
|
||
|
# Change environment to /home/{{USERNAME}}
|
||
|
[Service]
|
||
|
Environment="HOME=/home/{{USERNAME}}"
|
||
|
ExecStart=/opt/lbry/lbrynet start
|
||
|
User={{USERNAME}}
|
||
|
Group={{USERNAME}}
|
||
|
Restart=on-failure
|
||
|
KillMode=process
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|