lnurld/server/templates/lnurld.service.j2
changeset 218 1db4800bc4f5
parent 217 e69a030975c4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lnurld/server/templates/lnurld.service.j2	Sat Jul 22 23:27:09 2023 -0500
@@ -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