commit b3ccaf4a9f35cebe141dcd951f01a31c0c04087d
parent deba3a2ae0bf85f96850ad007df03808d28a3e1f
Author: Antoine A <>
Date: Sat, 6 Dec 2025 12:41:54 +0100
ebisync: improve deb
Diffstat:
6 files changed, 32 insertions(+), 8 deletions(-)
diff --git a/debian/etc/libeufin-ebisync/conf.d/ebisync-fetch.conf b/debian/etc/libeufin-ebisync/conf.d/ebisync-fetch.conf
@@ -0,0 +1,9 @@
+# Configuration for the EbiSync fetcher.
+
+[ebisync-fetch]
+
+# Where should the ebics file be stored? This his can either can be azure-blob-storage or none
+# DESTINATION = azure-blob-storage
+
+@inline-secret@ ebisync_fetch ../secrets/ebisync_fetch.secret.conf
+
diff --git a/debian/etc/libeufin-ebisync/libeufin-ebysinc.conf b/debian/etc/libeufin-ebisync/libeufin-ebysinc.conf
@@ -35,7 +35,6 @@ PARTNER_ID =
# EBICS partner ID, as assigned by the bank.
SYSTEM_ID =
-
[ebisync-setup]
# Bank encryption public key hash
# BANK_ENCRYPTION_PUB_KEY_HASH =
diff --git a/debian/etc/libeufin-ebisync/secrets/ebisync-db.secret.conf b/debian/etc/libeufin-ebisync/secrets/ebisync-db.secret.conf
@@ -1,5 +1,5 @@
-[libeufin-ebisync]
+[ebisyncdb-postgres]
# Typically, there should only be a single line here, of the form:
diff --git a/debian/etc/libeufin-ebisync/secrets/ebisync-fetch.secret.conf b/debian/etc/libeufin-ebisync/secrets/ebisync-fetch.secret.conf
@@ -0,0 +1,13 @@
+[ebisync-fetch]
+
+# Azure API account base url for azure-blob-storage
+# AZURE_API_URL = https://myaccount.blob.core.windows.net/
+
+# Azure API account name for azure-blob-storage
+# AZURE_ACCOUNT_NAME = myaccount
+
+# Azure API account key for azure-blob-storage
+# AZURE_ACCOUNT_KEY = Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
+
+# Which Azure Blob Storage container to use for azure-blob-storage
+# AZURE_COUNTAINER = mycontainer
diff --git a/debian/libeufin-ebisync.tmpfiles b/debian/libeufin-ebisync.tmpfiles
@@ -1,2 +1,6 @@
# Create home directory
-d$ /var/lib/libeufin-ebisync 0700 libeufin-ebisync libeufin-ebisync - -
-\ No newline at end of file
+d$ /var/lib/libeufin-ebisync 0700 libeufin-ebisync libeufin-ebisync - -
+
+# Update secret files permissions
+z /etc/libeufin-ebisync/secrets/libeufin-ebisync-db.secret.conf 0640 libeufin-ebisync libeufin-ebisync - -
+z /etc/libeufin-ebisync/secrets/libeufin-ebisync-fetch.secret.conf 0640 libeufin-ebisync libeufin-ebisync - -
diff --git a/libeufin-ebisync/ebisync.conf b/libeufin-ebisync/ebisync.conf
@@ -41,16 +41,16 @@ CHECKPOINT_TIME_OF_DAY = 19:00
DESTINATION = none
# Azure API account base url for azure-blob-storage
-AZURE_API_URL =
+# AZURE_API_URL = https://myaccount.blob.core.windows.net/
# Azure API account name for azure-blob-storage
-AZURE_ACCOUNT_NAME =
+# AZURE_ACCOUNT_NAME = myaccount
# Azure API account key for azure-blob-storage
-AZURE_ACCOUNT_KEY =
+# AZURE_ACCOUNT_KEY = Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
# Which Azure Blob Storage container to use for azure-blob-storage
-AZURE_COUNTAINER =
+# AZURE_COUNTAINER = mycontainer
[ebisyncdb-postgres]
# Where are the SQL files to setup our tables?