commit 18f38d4890
Merge:6ef818edf4e6414dAuthor: Willy Kloucek <34452982+wkloucek@users.noreply.github.com> Date: Mon Sep 27 10:08:20 2021 +0200 Merge pull request #2545 from owncloud/systemd_deployment [docs-only] add systemd deployment guide
This commit is contained in:
1 parent
98e3a61501
commit
1d5f7e907d
15 files changed
+3885
-3817
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:43:15+0000"
|
||||
date: "2021-09-27T08:08:39+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/accounts/templates
|
||||
@@ -34,6 +34,381 @@ If multiple variables are listed for one option, they are in order of precedence
|
||||
### Command-line flags
|
||||
|
||||
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
|
||||
|
||||
### accounts ocis-accounts
|
||||
|
||||
Provide accounts and groups for oCIS
|
||||
|
||||
Usage: `accounts ocis-accounts [command options] [arguments...]`
|
||||
|
||||
|
||||
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts server
|
||||
|
||||
Start ocis accounts service
|
||||
|
||||
Usage: `accounts server [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE
|
||||
: Enable log to file.
|
||||
|
||||
|
||||
-tracing-enabled | $ACCOUNTS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
|
||||
: Enable sending traces.
|
||||
|
||||
|
||||
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
|
||||
: Tracing backend type. Default: `"jaeger"`.
|
||||
|
||||
|
||||
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
|
||||
: Endpoint for the agent. Default: `""`.
|
||||
|
||||
|
||||
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
|
||||
: Endpoint for the collector. Default: `""`.
|
||||
|
||||
|
||||
-tracing-service | $ACCOUNTS_TRACING_SERVICE
|
||||
: Service name for tracing. Default: `"accounts"`.
|
||||
|
||||
|
||||
-http-namespace | $ACCOUNTS_HTTP_NAMESPACE
|
||||
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
|
||||
|
||||
|
||||
-http-addr | $ACCOUNTS_HTTP_ADDR
|
||||
: Address to bind http server. Default: `"0.0.0.0:9181"`.
|
||||
|
||||
|
||||
-http-root | $ACCOUNTS_HTTP_ROOT
|
||||
: Root path of http server. Default: `"/"`.
|
||||
|
||||
|
||||
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
|
||||
: Set the static assets caching duration in seconds. Default: `604800`.
|
||||
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
|
||||
|
||||
|
||||
-grpc-addr | $ACCOUNTS_GRPC_ADDR
|
||||
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
|
||||
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
|
||||
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
|
||||
: accounts password hash difficulty. Default: `11`.
|
||||
|
||||
|
||||
-demo-users-and-groups | $ACCOUNTS_DEMO_USERS_AND_GROUPS
|
||||
: Enable demo users and groups. Default: `true`.
|
||||
|
||||
|
||||
-asset-path | $ACCOUNTS_ASSET_PATH
|
||||
: Path to custom assets. Default: `""`.
|
||||
|
||||
|
||||
-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET
|
||||
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
|
||||
|
||||
|
||||
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
|
||||
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
|
||||
|
||||
|
||||
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
|
||||
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
|
||||
|
||||
|
||||
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
|
||||
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
|
||||
|
||||
|
||||
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
|
||||
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
|
||||
|
||||
|
||||
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
|
||||
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
|
||||
|
||||
|
||||
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
|
||||
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
|
||||
|
||||
|
||||
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
|
||||
: username of the internal service user (required on EOS). Default: `""`.
|
||||
|
||||
|
||||
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
|
||||
: uid of the internal service user (required on EOS). Default: `0`.
|
||||
|
||||
|
||||
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
|
||||
: gid of the internal service user (required on EOS). Default: `0`.
|
||||
|
||||
|
||||
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
|
||||
: define a starting point for the account UID. Default: `0`.
|
||||
|
||||
|
||||
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
|
||||
: define a starting point for the account GID. Default: `1000`.
|
||||
|
||||
|
||||
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
|
||||
: define an ending point for the account UID. Default: `0`.
|
||||
|
||||
|
||||
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
|
||||
: define an ending point for the account GID. Default: `1000`.
|
||||
|
||||
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts update
|
||||
|
||||
Make changes to an existing account
|
||||
|
||||
Usage: `accounts update [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
|
||||
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
|
||||
-enabled |
|
||||
: Enable the account.
|
||||
|
||||
|
||||
-displayname |
|
||||
: Set the displayname for the account.
|
||||
|
||||
|
||||
-preferred-name |
|
||||
: Set the preferred-name for the account.
|
||||
|
||||
|
||||
-on-premises-sam-account-name |
|
||||
: Set the on-premises-sam-account-name.
|
||||
|
||||
|
||||
-uidnumber |
|
||||
: Set the uidnumber for the account.
|
||||
|
||||
|
||||
-gidnumber |
|
||||
: Set the gidnumber for the account.
|
||||
|
||||
|
||||
-mail |
|
||||
: Set the mail for the account.
|
||||
|
||||
|
||||
-description |
|
||||
: Set the description for the account.
|
||||
|
||||
|
||||
-password |
|
||||
: Set the password for the account.
|
||||
|
||||
|
||||
-password-policies |
|
||||
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
|
||||
|
||||
|
||||
-force-password-change |
|
||||
: Force password change on next sign-in.
|
||||
|
||||
|
||||
-force-password-change-mfa |
|
||||
: Force password change on next sign-in with mfa.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts add
|
||||
|
||||
@@ -156,6 +531,88 @@ Usage: `accounts add [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
### accounts inspect
|
||||
|
||||
Show detailed data on an existing account
|
||||
|
||||
Usage: `accounts inspect [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
|
||||
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
### accounts list
|
||||
|
||||
List existing accounts
|
||||
@@ -393,175 +850,6 @@ Usage: `accounts remove [command options] [arguments...]`
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
|
||||
|
||||
### accounts server
|
||||
|
||||
Start ocis accounts service
|
||||
|
||||
Usage: `accounts server [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-log-file | $ACCOUNTS_LOG_FILE , $OCIS_LOG_FILE
|
||||
: Enable log to file.
|
||||
|
||||
|
||||
-tracing-enabled | $ACCOUNTS_TRACING_ENABLED , $OCIS_TRACING_ENABLED
|
||||
: Enable sending traces.
|
||||
|
||||
|
||||
-tracing-type | $ACCOUNTS_TRACING_TYPE , $OCIS_TRACING_TYPE
|
||||
: Tracing backend type. Default: `"jaeger"`.
|
||||
|
||||
|
||||
-tracing-endpoint | $ACCOUNTS_TRACING_ENDPOINT , $OCIS_TRACING_ENDPOINT
|
||||
: Endpoint for the agent. Default: `""`.
|
||||
|
||||
|
||||
-tracing-collector | $ACCOUNTS_TRACING_COLLECTOR , $OCIS_TRACING_COLLECTOR
|
||||
: Endpoint for the collector. Default: `""`.
|
||||
|
||||
|
||||
-tracing-service | $ACCOUNTS_TRACING_SERVICE
|
||||
: Service name for tracing. Default: `"accounts"`.
|
||||
|
||||
|
||||
-http-namespace | $ACCOUNTS_HTTP_NAMESPACE
|
||||
: Set the base namespace for the http namespace. Default: `"com.owncloud.web"`.
|
||||
|
||||
|
||||
-http-addr | $ACCOUNTS_HTTP_ADDR
|
||||
: Address to bind http server. Default: `"0.0.0.0:9181"`.
|
||||
|
||||
|
||||
-http-root | $ACCOUNTS_HTTP_ROOT
|
||||
: Root path of http server. Default: `"/"`.
|
||||
|
||||
|
||||
-http-cache-ttl | $ACCOUNTS_CACHE_TTL
|
||||
: Set the static assets caching duration in seconds. Default: `604800`.
|
||||
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
|
||||
|
||||
|
||||
-grpc-addr | $ACCOUNTS_GRPC_ADDR
|
||||
: Address to bind grpc server. Default: `"0.0.0.0:9180"`.
|
||||
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
|
||||
-accounts-hash-difficulty | $ACCOUNTS_HASH_DIFFICULTY
|
||||
: accounts password hash difficulty. Default: `11`.
|
||||
|
||||
|
||||
-demo-users-and-groups | $ACCOUNTS_DEMO_USERS_AND_GROUPS
|
||||
: Enable demo users and groups. Default: `true`.
|
||||
|
||||
|
||||
-asset-path | $ACCOUNTS_ASSET_PATH
|
||||
: Path to custom assets. Default: `""`.
|
||||
|
||||
|
||||
-jwt-secret | $ACCOUNTS_JWT_SECRET , $OCIS_JWT_SECRET
|
||||
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
|
||||
|
||||
|
||||
-storage-disk-path | $ACCOUNTS_STORAGE_DISK_PATH
|
||||
: Path on the local disk, e.g. /var/tmp/ocis/accounts. Default: `""`.
|
||||
|
||||
|
||||
-storage-cs3-provider-addr | $ACCOUNTS_STORAGE_CS3_PROVIDER_ADDR
|
||||
: bind address for the metadata storage provider. Default: `"localhost:9215"`.
|
||||
|
||||
|
||||
-storage-cs3-data-url | $ACCOUNTS_STORAGE_CS3_DATA_URL
|
||||
: http endpoint of the metadata storage. Default: `"http://localhost:9216"`.
|
||||
|
||||
|
||||
-storage-cs3-data-prefix | $ACCOUNTS_STORAGE_CS3_DATA_PREFIX
|
||||
: path prefix for the http endpoint of the metadata storage, without leading slash. Default: `"data"`.
|
||||
|
||||
|
||||
-storage-cs3-jwt-secret | $ACCOUNTS_STORAGE_CS3_JWT_SECRET , $OCIS_JWT_SECRET
|
||||
: Used to create JWT to talk to reva, should equal reva's jwt-secret. Default: `"Pive-Fumkiu4"`.
|
||||
|
||||
|
||||
-service-user-uuid | $ACCOUNTS_SERVICE_USER_UUID
|
||||
: uuid of the internal service user (required on EOS). Default: `"95cb8724-03b2-11eb-a0a6-c33ef8ef53ad"`.
|
||||
|
||||
|
||||
-service-user-username | $ACCOUNTS_SERVICE_USER_USERNAME
|
||||
: username of the internal service user (required on EOS). Default: `""`.
|
||||
|
||||
|
||||
-service-user-uid | $ACCOUNTS_SERVICE_USER_UID
|
||||
: uid of the internal service user (required on EOS). Default: `0`.
|
||||
|
||||
|
||||
-service-user-gid | $ACCOUNTS_SERVICE_USER_GID
|
||||
: gid of the internal service user (required on EOS). Default: `0`.
|
||||
|
||||
|
||||
-uid-index-lower-bound | $ACCOUNTS_UID_INDEX_LOWER_BOUND
|
||||
: define a starting point for the account UID. Default: `0`.
|
||||
|
||||
|
||||
-gid-index-lower-bound | $ACCOUNTS_GID_INDEX_LOWER_BOUND
|
||||
: define a starting point for the account GID. Default: `1000`.
|
||||
|
||||
|
||||
-uid-index-upper-bound | $ACCOUNTS_UID_INDEX_UPPER_BOUND
|
||||
: define an ending point for the account UID. Default: `0`.
|
||||
|
||||
|
||||
-gid-index-upper-bound | $ACCOUNTS_GID_INDEX_UPPER_BOUND
|
||||
: define an ending point for the account GID. Default: `1000`.
|
||||
|
||||
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -645,293 +933,5 @@ Usage: `accounts version [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts inspect
|
||||
|
||||
Show detailed data on an existing account
|
||||
|
||||
Usage: `accounts inspect [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
|
||||
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
### accounts ocis-accounts
|
||||
|
||||
Provide accounts and groups for oCIS
|
||||
|
||||
Usage: `accounts ocis-accounts [command options] [arguments...]`
|
||||
|
||||
|
||||
-log-level | $ACCOUNTS_LOG_LEVEL , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $ACCOUNTS_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $ACCOUNTS_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### accounts update
|
||||
|
||||
Make changes to an existing account
|
||||
|
||||
Usage: `accounts update [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-grpc-namespace | $ACCOUNTS_GRPC_NAMESPACE
|
||||
: Set the base namespace for the grpc namespace. Default: `"com.owncloud.api"`.
|
||||
|
||||
|
||||
-name | $ACCOUNTS_NAME
|
||||
: service name. Default: `"accounts"`.
|
||||
|
||||
|
||||
-enabled |
|
||||
: Enable the account.
|
||||
|
||||
|
||||
-displayname |
|
||||
: Set the displayname for the account.
|
||||
|
||||
|
||||
-preferred-name |
|
||||
: Set the preferred-name for the account.
|
||||
|
||||
|
||||
-on-premises-sam-account-name |
|
||||
: Set the on-premises-sam-account-name.
|
||||
|
||||
|
||||
-uidnumber |
|
||||
: Set the uidnumber for the account.
|
||||
|
||||
|
||||
-gidnumber |
|
||||
: Set the gidnumber for the account.
|
||||
|
||||
|
||||
-mail |
|
||||
: Set the mail for the account.
|
||||
|
||||
|
||||
-description |
|
||||
: Set the description for the account.
|
||||
|
||||
|
||||
-password |
|
||||
: Set the password for the account.
|
||||
|
||||
|
||||
-password-policies |
|
||||
: Possible policies: DisableStrongPassword, DisablePasswordExpiration.
|
||||
|
||||
|
||||
-force-password-change |
|
||||
: Force password change on next sign-in.
|
||||
|
||||
|
||||
-force-password-change-mfa |
|
||||
: Force password change on next sign-in with mfa.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+103
-103
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:18+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/glauth/templates
|
||||
@@ -34,108 +34,6 @@ If multiple variables are listed for one option, they are in order of precedence
|
||||
### Command-line flags
|
||||
|
||||
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
|
||||
|
||||
### glauth health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `glauth health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $GLAUTH_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### glauth ocis-glauth
|
||||
|
||||
Serve GLAuth API for oCIS
|
||||
|
||||
Usage: `glauth ocis-glauth [command options] [arguments...]`
|
||||
|
||||
|
||||
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### glauth server
|
||||
|
||||
@@ -286,4 +184,106 @@ Usage: `glauth server [command options] [arguments...]`
|
||||
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode. This flag is set by the runtime.
|
||||
|
||||
### glauth health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `glauth health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $GLAUTH_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9129"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### glauth ocis-glauth
|
||||
|
||||
Serve GLAuth API for oCIS
|
||||
|
||||
Usage: `glauth ocis-glauth [command options] [arguments...]`
|
||||
|
||||
|
||||
-log-level | $GLAUTH_LOG_LEVEL , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $GLAUTH_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $GLAUTH_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:19+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph-explorer/templates
|
||||
@@ -73,6 +73,36 @@ Usage: `graph-explorer [global options] command [command options] [arguments...]
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### graph-explorer health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `graph-explorer health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9136"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### graph-explorer server
|
||||
|
||||
Start integrated server
|
||||
@@ -151,33 +181,3 @@ Usage: `graph-explorer server [command options] [arguments...]`
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode. This flag is set by the runtime.
|
||||
|
||||
### graph-explorer health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `graph-explorer health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $GRAPH_EXPLORER_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9136"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:19+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/graph/templates
|
||||
@@ -35,6 +35,77 @@ If multiple variables are listed for one option, they are in order of precedence
|
||||
|
||||
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
|
||||
|
||||
### graph health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `graph health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $GRAPH_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### graph ocis-graph
|
||||
|
||||
Serve Graph API for oCIS
|
||||
|
||||
Usage: `graph ocis-graph [command options] [arguments...]`
|
||||
|
||||
|
||||
-config-file | $GRAPH_CONFIG_FILE
|
||||
: Path to config file. Default: `""`.
|
||||
|
||||
|
||||
-log-level | $GRAPH_LOG_LEVEL , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $GRAPH_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $GRAPH_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### graph server
|
||||
|
||||
Start integrated server
|
||||
@@ -114,74 +185,3 @@ Usage: `graph server [command options] [arguments...]`
|
||||
-extensions |
|
||||
: Run specific extensions during supervised mode. This flag is set by the runtime.
|
||||
|
||||
### graph health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `graph health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $GRAPH_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9124"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### graph ocis-graph
|
||||
|
||||
Serve Graph API for oCIS
|
||||
|
||||
Usage: `graph ocis-graph [command options] [arguments...]`
|
||||
|
||||
|
||||
-config-file | $GRAPH_CONFIG_FILE
|
||||
: Path to config file. Default: `""`.
|
||||
|
||||
|
||||
-log-level | $GRAPH_LOG_LEVEL , $OCIS_LOG_LEVEL
|
||||
: Set logging level.
|
||||
|
||||
|
||||
-log-pretty | $GRAPH_LOG_PRETTY , $OCIS_LOG_PRETTY
|
||||
: Enable pretty logging.
|
||||
|
||||
|
||||
-log-color | $GRAPH_LOG_COLOR , $OCIS_LOG_COLOR
|
||||
: Enable colored logging.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:19+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/idp/templates
|
||||
@@ -35,6 +35,79 @@ If multiple variables are listed for one option, they are in order of precedence
|
||||
|
||||
If you prefer to configure the service with command-line flags you can see the available variables below. Command line flags are only working when calling the subcommand directly.
|
||||
|
||||
### idp version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `idp version [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-http-namespace | $IDP_HTTP_NAMESPACE
|
||||
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
|
||||
|
||||
|
||||
-name | $IDP_NAME
|
||||
: Service name. Default: `"idp"`.
|
||||
|
||||
### idp health
|
||||
|
||||
Check health status
|
||||
@@ -413,76 +486,3 @@ Usage: `idp server [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
### idp version
|
||||
|
||||
Print the versions of the running instances
|
||||
|
||||
Usage: `idp version [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-http-namespace | $IDP_HTTP_NAMESPACE
|
||||
: Set the base namespace for service discovery. Default: `"com.owncloud.web"`.
|
||||
|
||||
|
||||
-name | $IDP_NAME
|
||||
: Service name. Default: `"idp"`.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:20+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/ocs/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:20+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/proxy/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:20+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/settings/templates
|
||||
|
||||
+2885
-2885
File diff suppressed because it is too large.
Load diff
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:21+0000"
|
||||
date: "2021-09-27T08:09:32+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/store/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:22+0000"
|
||||
date: "2021-09-27T08:09:32+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/thumbnails/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:23+0000"
|
||||
date: "2021-09-27T08:09:32+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/web/templates
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:23+0000"
|
||||
date: "2021-09-27T08:09:32+0000"
|
||||
weight: 20
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/webdav/templates
|
||||
@@ -66,6 +66,39 @@ Usage: `webdav [global options] command [command options] [arguments...]`
|
||||
|
||||
|
||||
## Sub Commands
|
||||
|
||||
### webdav health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `webdav health [command options] [arguments...]`
|
||||
|
||||
|
||||
-debug-addr | $WEBDAV_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9119"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### webdav server
|
||||
|
||||
@@ -195,37 +228,4 @@ Usage: `webdav version [command options] [arguments...]`
|
||||
|
||||
-service-name | $WEBDAV_SERVICE_NAME
|
||||
: Service name. Default: `"webdav"`.
|
||||
|
||||
### webdav health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `webdav health [command options] [arguments...]`
|
||||
|
||||
|
||||
-debug-addr | $WEBDAV_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `"0.0.0.0:9119"`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
+154
-154
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: "Configuration"
|
||||
date: "2021-09-27T06:44:19+0000"
|
||||
date: "2021-09-27T08:09:31+0000"
|
||||
weight: 2
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/ocis/templates
|
||||
@@ -133,93 +133,6 @@ Usage: `ocis list [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ocis run
|
||||
|
||||
Runs an extension
|
||||
|
||||
Usage: `ocis run [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ocis kill
|
||||
|
||||
Kill an extension by name
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ocis health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `ocis health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $OCIS_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9010`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -274,58 +187,129 @@ Usage: `ocis server [command options] [arguments...]`
|
||||
|
||||
-extensions | $OCIS_RUN_EXTENSIONS
|
||||
: Run specific extensions during supervised mode.
|
||||
|
||||
### ocis health
|
||||
|
||||
Check health status
|
||||
|
||||
Usage: `ocis health [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-debug-addr | $OCIS_DEBUG_ADDR
|
||||
: Address to debug endpoint. Default: `0.0.0.0:9010`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ocis kill
|
||||
|
||||
Kill an extension by name
|
||||
|
||||
Usage: `ocis kill [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ocis run
|
||||
|
||||
Runs an extension
|
||||
|
||||
Usage: `ocis run [command options] [arguments...]`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### List of available Extension subcommands
|
||||
|
||||
There are more subcommands to start the individual extensions. Please check the documentation about their usage and options in the dedicated section of the documentation.
|
||||
|
||||
#### ocis proxy
|
||||
#### ocis storage-home
|
||||
|
||||
Start proxy server
|
||||
|
||||
#### ocis storage-metadata
|
||||
|
||||
Start storage and data service for metadata
|
||||
|
||||
#### ocis ocs
|
||||
|
||||
Start ocs server
|
||||
|
||||
#### ocis glauth
|
||||
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage gateway
|
||||
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis web
|
||||
|
||||
Start web server
|
||||
|
||||
#### ocis idp
|
||||
|
||||
Start idp server
|
||||
|
||||
#### ocis storage-sharing
|
||||
|
||||
Start storage sharing service
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis store
|
||||
|
||||
Start a go-micro store
|
||||
|
||||
#### ocis storage-auth-bearer
|
||||
#### ocis version
|
||||
|
||||
Start storage auth-bearer service
|
||||
Lists running services with version
|
||||
|
||||
#### ocis storage-app-provider
|
||||
|
||||
Start storage app-provider service
|
||||
|
||||
#### ocis storage-metadata
|
||||
|
||||
Start storage and data service for metadata
|
||||
|
||||
#### ocis thumbnails
|
||||
|
||||
Start thumbnails server
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
#### ocis proxy
|
||||
|
||||
Start proxy server
|
||||
|
||||
#### ocis storage-frontend
|
||||
|
||||
@@ -335,39 +319,55 @@ Start storage frontend
|
||||
|
||||
Start storage groupprovider service
|
||||
|
||||
#### ocis accounts
|
||||
#### ocis storage-auth-bearer
|
||||
|
||||
Start accounts server
|
||||
Start storage auth-bearer service
|
||||
|
||||
#### ocis settings
|
||||
#### ocis glauth
|
||||
|
||||
Start settings server
|
||||
Start glauth server
|
||||
|
||||
#### ocis storage-users
|
||||
#### ocis ocs
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
|
||||
#### ocis storage-home
|
||||
|
||||
Start storage and data provider for /home mount
|
||||
|
||||
#### ocis thumbnails
|
||||
|
||||
Start thumbnails server
|
||||
|
||||
#### ocis version
|
||||
|
||||
Lists running services with version
|
||||
|
||||
#### ocis webdav
|
||||
|
||||
Start webdav server
|
||||
|
||||
#### ocis storage-app-provider
|
||||
|
||||
Start storage app-provider service
|
||||
Start ocs server
|
||||
|
||||
#### ocis storage-auth-basic
|
||||
|
||||
Start storage auth-basic service
|
||||
|
||||
#### ocis storage-public-link
|
||||
|
||||
Start storage public link storage
|
||||
|
||||
#### ocis accounts
|
||||
|
||||
Start accounts server
|
||||
|
||||
#### ocis storage-users
|
||||
|
||||
Start storage and data provider for /users mount
|
||||
|
||||
#### ocis storage-sharing
|
||||
|
||||
Start storage sharing service
|
||||
|
||||
#### ocis storage-userprovider
|
||||
|
||||
Start storage userprovider service
|
||||
|
||||
#### ocis settings
|
||||
|
||||
Start settings server
|
||||
|
||||
#### ocis storage-gateway
|
||||
|
||||
Start storage gateway
|
||||
|
||||
#### ocis web
|
||||
|
||||
Start web server
|
||||
|
||||
#### ocis idp
|
||||
|
||||
Start idp server
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
---
|
||||
title: "Systemd service"
|
||||
date: 2020-09-27T06:00:00+01:00
|
||||
weight: 16
|
||||
geekdocRepo: https://github.com/owncloud/ocis
|
||||
geekdocEditPath: edit/master/docs/ocis/deployment
|
||||
geekdocFilePath: systemd.md
|
||||
---
|
||||
|
||||
{{< toc >}}
|
||||
|
||||
## Install the oCIS binary
|
||||
Download the oCIS binary of your preferred version and for your CPU architecture and operating system from [download.owncloud.com](https://download.owncloud.com/ocis/ocis).
|
||||
|
||||
Rename the downloaded binary to `ocis` and move it to `/usr/bin/`. As a next step, you need to mark it as executable with `chmod +x /usr/bin/ocis`.
|
||||
|
||||
When you now run `ocis help` on your command line, you should see the available options for the oCIS command.
|
||||
|
||||
|
||||
## Systemd service definition
|
||||
|
||||
Create the Systemd service definition for oCIS in the file `/etc/systemd/system/ocis.service` with following content:
|
||||
```
|
||||
[Unit]
|
||||
Description=OCIS server
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
EnvironmentFile=/etc/ocis/ocis.env
|
||||
ExecStart=ocis server
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
For reasons of simplicity we are using the root user and group to run oCIS which is not recommended. Please use a non-root user in production environments and modify the oCIS service definition accordingly.
|
||||
|
||||
|
||||
In the service definition we referenced `/etc/ocis/ocis.env` as our file containing environment variables for the oCIS process.
|
||||
In order to create the file we need first to create the folder `/etc/ocis/` and than we can add the actual `/etc/ocis/ocis.env` with following content:
|
||||
|
||||
```
|
||||
OCIS_URL=https://some-hostname-or-ip:9200
|
||||
PROXY_HTTP_ADDR=0.0.0.0:9200
|
||||
|
||||
OCIS_LOG_LEVEL=error
|
||||
|
||||
GLAUTH_LDAPS_CERT=/etc/ocis/ldap/ldaps.crt
|
||||
GLAUTH_LDAPS_KEY=/etc/ocis/ldap/ldaps.key
|
||||
IDP_TRANSPORT_TLS_CERT=/etc/ocis/idp/server.crt
|
||||
IDP_TRANSPORT_TLS_KEY=/etc/ocis/idp/server.key
|
||||
PROXY_TRANSPORT_TLS_CERT=/etc/ocis/proxy/server.crt
|
||||
PROXY_TRANSPORT_TLS_KEY=/etc/ocis/proxy/server.key
|
||||
```
|
||||
|
||||
Please change your `OCIS_URL` in order to reflect your actual deployment.
|
||||
|
||||
|
||||
## Starting the oCIS service
|
||||
|
||||
You can enable oCIS now by running `systemctl enable --now ocis`. It will ensure that oCIS also is restarted after a reboot of the host.
|
||||
|
||||
If you need to restart oCIS because of configuration changes in `/etc/ocis/ocis.env`, run `systemctl restart ocis`.
|
||||
|
||||
You can have a look at the logs of oCIS by issuing `journalctl -f -u ocis`.
|
||||
Reference in new issue
Block a user