spee.ch/docs/setup/conf/lbrynet/lbrynet.service.template

17 lines
295 B
Text
Raw Normal View History

2019-03-01 09:20:53 +01:00
[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