summaryrefslogtreecommitdiff
path: root/stdlib/backups/borg/common.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-06-10 23:22:33 +0200
committerJulien Dessaux2024-06-10 23:23:12 +0200
commit07db4ab5bd8765631ba5073041190a2f11324992 (patch)
tree9334a29f16c87813a73ffd3023d2dc81fbba11ad /stdlib/backups/borg/common.go
parentfeat(gonf): support a GONF_HOST environment variable (diff)
downloadgonf-07db4ab5bd8765631ba5073041190a2f11324992.tar.gz
gonf-07db4ab5bd8765631ba5073041190a2f11324992.tar.bz2
gonf-07db4ab5bd8765631ba5073041190a2f11324992.zip
feat(stdlib): added borg server custom promise
Diffstat (limited to '')
-rw-r--r--stdlib/backups/borg/common.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/stdlib/backups/borg/common.go b/stdlib/backups/borg/common.go
new file mode 100644
index 0000000..60d14f2
--- /dev/null
+++ b/stdlib/backups/borg/common.go
@@ -0,0 +1,9 @@
+package borg
+
+import gonf "git.adyxax.org/adyxax/gonf/v2/pkg"
+
+func installBorgPackage() gonf.Status {
+ packag := gonf.Package("borgbackup")
+ packag.Resolve()
+ return packag.Status()
+}