summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/config.toml.example14
1 files changed, 7 insertions, 7 deletions
diff --git a/config/config.toml.example b/config/config.toml.example
index 2c9b4d4..476c71c 100644
--- a/config/config.toml.example
+++ b/config/config.toml.example
@@ -19,13 +19,13 @@ branch = "user/nick/updates"
# be configured consistently with the remote_path.
download_url = "https://example.com/some/path"
-# If a package updater generates a source tarball, the tarball is uploaded to
-# a remote destination with scp. remote_path specifies the remote server and
-# a local path on the server where the source tarballs are hosted. When
-# uploading the remote_path is followed by the package name and source file
-# name. To specify a public URL where the sources can be downloaded, see
-# download_url.
-remote_path = "example.com:/srv/httpd/some/path"
+# If a package updater generates a source tarball, the tarball is uploaded with
+# a command given in this parameter. The parameter is a array where the first
+# element is the command with the following elements being the command
+# arguments. The command supports 2 placeholders:
+# %s - Path to the source archive.
+# %c - Package category.
+upload_command = ["scp", "%s", "example.com:/srv/httpd/some/path/%c"]
## Maintainer specific options
[maintainer]