src.nth.io/

summaryrefslogtreecommitdiff
path: root/lnd-channel-s3-backup/templates
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-07-05 10:46:30 -0500
committerLuke Hoersten <[email protected]>2021-07-05 10:46:30 -0500
commitd31c0aa6ae67ec592b90ffb42e33982ebf73d676 (patch)
tree65b65709c33b62ab6fb219e442daaaf1abe97fa3 /lnd-channel-s3-backup/templates
parent6ef783150c4a91be790cee5c81379b80d0845e91 (diff)
Added lnd channel backup to s3 role.
Diffstat (limited to 'lnd-channel-s3-backup/templates')
-rw-r--r--lnd-channel-s3-backup/templates/[email protected]10
1 files changed, 10 insertions, 0 deletions
diff --git a/lnd-channel-s3-backup/templates/[email protected] b/lnd-channel-s3-backup/templates/[email protected]
new file mode 100644
index 0000000..b3c1ead
--- /dev/null
+++ b/lnd-channel-s3-backup/templates/[email protected]
@@ -0,0 +1,10 @@
+[Unit]
+Description=LND channel s3 backup for "%I"
+
+[Service]
+ExecStart=/usr/local/bin/lnd-channel-s3-backup.sh %i "{{lnd_channel_s3_backup}}"
+Restart=always
+RestartSec=1
+
+[Install]
+WantedBy=multi-user.target