src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnurld/server/templates/lnurld.service.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2023-07-22 23:27:09 -0500
committerLuke Hoersten <[email protected]>2023-07-22 23:27:09 -0500
commit4f2dd12d36b447f6b28844ff4db9414f935272d3 (patch)
tree91a81167b225ec9944632c68c4ddc6b0dfb5aab1 /lnurld/server/templates/lnurld.service.j2
parent58d6bb46618d2cfef3a2f381e46b5eba193d7270 (diff)
Got lnurld running.
Diffstat (limited to 'lnurld/server/templates/lnurld.service.j2')
-rw-r--r--lnurld/server/templates/lnurld.service.j221
1 files changed, 21 insertions, 0 deletions
diff --git a/lnurld/server/templates/lnurld.service.j2 b/lnurld/server/templates/lnurld.service.j2
new file mode 100644
index 0000000..499fdba
--- /dev/null
+++ b/lnurld/server/templates/lnurld.service.j2
@@ -0,0 +1,21 @@
+[Unit]
+Description=LNURL Daemon
+Wants=lnd.service
+After=lnd.service
+
+[Service]
+Environment="GIN_MODE=release"
+ExecStart=/usr/local/bin/lnurld
+
+User={{lnurld_user}}
+Group={{lnurld_user}}
+
+Type=simple
+KillMode=process
+LimitNOFILE=128000
+TimeoutSec=240
+Restart=always
+RestartSec=60
+
+[Install]
+WantedBy=multi-user.target