blob: f134517d0f8c8214ae7dc8b5ce03cd1146bb008c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# Raspibolt c-lightning-REST: systemd unit for c-lightning-REST
# /etc/systemd/system/c-lightning-REST.service
[Unit]
Description=c-lightning-REST daemon
Wants=lightningd.service
After=lightningd.service
[Service]
ExecStart=/usr/bin/node /usr/lib/node_modules/c-lightning-rest/cl-rest.js
User=bitcoin
Restart=always
TimeoutSec=120
RestartSec=30
[Install]
WantedBy=multi-user.target
|