Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |
services:cloudcommander [2025/01/21 12:15] – willy | services:cloudcommander [2025/01/21 12:58] (current) – willy |
---|
===== Running ===== | ===== Running ===== |
| |
| You can run it by hand with the following example line: |
| <code bash> |
cloudcmd --packer zip --root /data/shares/common --prefix /common --port 5005 --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name "Common Share" | cloudcmd --packer zip --root /data/shares/common --prefix /common --port 5005 --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name "Common Share" |
| </code> |
| |
| Or you can automate it... |
| |
==== Running ==== | |
| |
I assume you want to run it as user **myuser**. | I assume you want to run it as user **myuser**. |
command="/data/daemons/filebrowser/.npm_install/bin/cloudcmd" | command="/data/daemons/filebrowser/.npm_install/bin/cloudcmd" |
command_args="--packer ${CC_PACKER} --root \"${FOLDER}\" --prefix ${BASE_URL} --port ${PORT} --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name \“${DESCRIPTION}\”" | command_args="--packer ${CC_PACKER} --root \"${FOLDER}\" --prefix ${BASE_URL} --port ${PORT} --confirm-copy --confirm-move --no-auth --no-config-auth --no-contact --vim --no-dropbox --name \“${DESCRIPTION}\”" |
| |
| |
echo $command $command_args | |
command_user="${CC_USER}:${CC_GROUP}" | command_user="${CC_USER}:${CC_GROUP}" |
| |