mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-15 18:02:49 +00:00
28 lines
477 B
Desktop File
28 lines
477 B
Desktop File
# lndhub service
|
|
# /etc/systemd/system/lndhub.service
|
|
|
|
[Unit]
|
|
Description=LND Hub
|
|
Wants=lnd.service
|
|
After=lnd.service
|
|
|
|
[Service]
|
|
ExecStartPre=/usr/bin/wait_on_lnd.sh
|
|
Environment=PORT=3000
|
|
WorkingDirectory=/opt/mynode/LndHub
|
|
ExecStart=/usr/bin/npm start
|
|
|
|
User=bitcoin
|
|
Group=bitcoin
|
|
Type=simple
|
|
KillMode=process
|
|
LimitNOFILE=128000
|
|
TimeoutSec=240
|
|
Restart=always
|
|
RestartSec=60
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=lndhub
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |