diff options
author | Julien Dessaux | 2024-06-10 23:22:33 +0200 |
---|---|---|
committer | Julien Dessaux | 2024-06-10 23:23:12 +0200 |
commit | 07db4ab5bd8765631ba5073041190a2f11324992 (patch) | |
tree | 9334a29f16c87813a73ffd3023d2dc81fbba11ad /stdlib/backups/borg/common.go | |
parent | feat(gonf): support a GONF_HOST environment variable (diff) | |
download | gonf-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.go | 9 |
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() +} |