Note: This script require network access during build time. # kopia-server is provided by SlackBuild and there is no upstream. # Includes a built-in web UI (kopia server start) # Usage: # kopia-server setup create the ~/.config/kopia/server.env # file with a random password # kopia-server start # kopia-server stop # kopia-server restart # kopia-server status # kopia-server log tail the server log # # Environment overrides: # KOPIA_ADDRESS listen address (default 127.0.0.1:51515) # KOPIA_BIN path to the kopia binary (default: from PATH)