author | Luke Hoersten <luke@hoersten.org> |
Mon, 07 Oct 2024 15:26:03 -0500 | |
changeset 35 | f7dc2fa74e74 |
parent 31 | 562b76293a66 |
permissions | -rw-r--r-- |
31
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
1 |
[Unit] |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
2 |
Description=LNURL Daemon |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
3 |
Wants=lnd.service |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
4 |
After=lnd.service |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
5 |
|
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
6 |
[Service] |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
7 |
Environment="GIN_MODE=release" |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
8 |
ExecStart=/usr/local/bin/lnurld |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
9 |
|
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
10 |
User={{lnurld_user}} |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
11 |
Group={{lnurld_user}} |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
12 |
|
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
13 |
Type=simple |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
14 |
KillMode=process |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
15 |
LimitNOFILE=128000 |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
16 |
TimeoutSec=240 |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
17 |
Restart=always |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
18 |
RestartSec=60 |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
19 |
|
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
20 |
[Install] |
562b76293a66
Moved lnurld from my general ansible roles repo to the btc specific repo.
Luke Hoersten <luke@hoersten.org>
parents:
diff
changeset
|
21 |
WantedBy=multi-user.target |