diff options
author | object42 | 2024-05-27 21:52:18 +0200 |
---|---|---|
committer | object42 | 2024-05-27 21:52:18 +0200 |
commit | ba32032953fbda06e076ebda2e8599499ce1cb00 (patch) | |
tree | 3040d19829300eea1cf388c6ff645fc9ef58f693 | |
parent | 9b3c66bfda134d8f61733c67a64871c59ba5da23 (diff) | |
download | aur-ba32032953fbda06e076ebda2e8599499ce1cb00.tar.gz |
- added Restart variable to systemd service
- fixed ente-desktop info in the man page
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 8 | ||||
-rw-r--r-- | ente-server-man.1.md | 15 | ||||
-rw-r--r-- | ente-server.service | 1 |
4 files changed, 18 insertions, 14 deletions
@@ -1,7 +1,7 @@ pkgbase = ente-server-git pkgdesc = Self hosted server for Ente (mobile) clients - pkgver = r1.c5aa536 - pkgrel = 6 + pkgver = r1.af57166 + pkgrel = 1 url = https://github.com/ente-io arch = x86_64 license = AGPL-3.0-only @@ -33,11 +33,11 @@ pkgbase = ente-server-git source = usr.bin.ente-server sha256sums = 0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0 sha256sums = f3624560a2c332724967e1e64689f8549a936fb85fc557ccc4bcbb7e57e373e8 - sha256sums = 513de8be26c5e2e1fca7ff9562bddd6a1740ce1622c14edfe766287556385cf6 + sha256sums = cdee9c25a6e284d1f1687ff2b3ce88362e312fd988585668b472821f7799fafb sha256sums = 2d5221aaa83f32bbc8c75c2d7c70f9ff8021d451b544f230c99fe29b84fcba75 sha256sums = 72c23c4ba9d3468a1b089d182917123cb15b8bf8b52b3955b98a0357d29b5cbd sha256sums = 6ba953245f2a285dbd82ce65635d19410eab1dcd92821c398bdf7ffba9451a9b - sha256sums = f5ae64093463a66fa66ecc4627f603ff0f9e17841e1d681dbcc68b1bad95100e + sha256sums = 2fb84a3ff08ee8803d5c5e7516a8a9327647bdd8ee00050ea9e567137b936071 sha256sums = 77b1b7aa5057e8ee8756bcc3a8415ce801f7b935b8f60c4934d4f4648dc5a92c sha256sums = 405365bd47efa25b8bcefc93a5c0535fd50cce22b5d8dcea070098aa432ff87e sha256sums = a1149c57e233f7be2f12668f5ef0f03409bd5ad37b1a223bb56d2ae865cf6358 @@ -2,8 +2,8 @@ pkgname=ente-server-git _pkgname_alt=museum _pkg_git_src=https://github.com/ente-io/ente.git -pkgver=r1.c5aa536 -pkgrel=6 +pkgver=r1.af57166 +pkgrel=1 pkgdesc="Self hosted server for Ente (mobile) clients" arch=(x86_64) url="https://github.com/ente-io" @@ -34,11 +34,11 @@ source=( sha256sums=( "0d96a4ff68ad6d4b6f1f30f713b18d5184912ba8dd389f86aa7710db079abcb0" "f3624560a2c332724967e1e64689f8549a936fb85fc557ccc4bcbb7e57e373e8" - "513de8be26c5e2e1fca7ff9562bddd6a1740ce1622c14edfe766287556385cf6" + "cdee9c25a6e284d1f1687ff2b3ce88362e312fd988585668b472821f7799fafb" "2d5221aaa83f32bbc8c75c2d7c70f9ff8021d451b544f230c99fe29b84fcba75" "72c23c4ba9d3468a1b089d182917123cb15b8bf8b52b3955b98a0357d29b5cbd" "6ba953245f2a285dbd82ce65635d19410eab1dcd92821c398bdf7ffba9451a9b" - "f5ae64093463a66fa66ecc4627f603ff0f9e17841e1d681dbcc68b1bad95100e" + "2fb84a3ff08ee8803d5c5e7516a8a9327647bdd8ee00050ea9e567137b936071" "77b1b7aa5057e8ee8756bcc3a8415ce801f7b935b8f60c4934d4f4648dc5a92c" "405365bd47efa25b8bcefc93a5c0535fd50cce22b5d8dcea070098aa432ff87e" "a1149c57e233f7be2f12668f5ef0f03409bd5ad37b1a223bb56d2ae865cf6358" diff --git a/ente-server-man.1.md b/ente-server-man.1.md index 29a52c8b6a9d..137de7d9d164 100644 --- a/ente-server-man.1.md +++ b/ente-server-man.1.md @@ -160,21 +160,24 @@ To get the Ente server running a working PostgreSQL database (to store Ente obje - Add ente-cli config: ``` mkdir -p ~/.ente/export - echo -e 'endpoint:\n api: "<https://your_public_domain.tld>"' > ~/.ente/config.yaml + echo -e 'endpoint:\n api: "https://<your_public_domain.tld>"' > ~/.ente/config.yaml ``` -- Add a user account via the photos app or web app, using a custom endpoint: +- Add a user account via the photos mobile, desktop or web app, using a custom endpoint: - In the photos app: - click 7 times on the main screen to enable developers mode - - define your custom end point URL: '`<https://your_public_domain.tld>`' + - define your custom end point URL: '`https://<your_public_domain.tld>`' - In the web app: ``` git clone https://github.com/ente-io/ente.git cd ente/web git submodule update --init --recursive yarn install - NEXT_PUBLIC_ENTE_ENDPOINT=<https://your_public_domain.tld> yarn dev:photos + NEXT_PUBLIC_ENTE_ENDPOINT=https://<your_public_domain.tld> yarn dev:photos ``` -- Follow the photos app or web app <http://localhost:3000> instructions to create a new user + - Using the desktop app: + - use 'NEXT_PUBLIC_ENTE_ENDPOINT=https://<your_public_domain.tld>' before building the desktop app + - Build and install the app using: `yay -S ente-desktop-git` +- Follow the photos, desktop or web app <http://localhost:3000> instructions to create a new user - Obtain the OTP code: - Via email: - Configure the `smtp` section in '`/etc/ente-server/local.yaml`' @@ -182,7 +185,7 @@ To get the Ente server running a working PostgreSQL database (to store Ente obje - Wait for the mail to arrive and copy the OTP code - Via the ente-server log: ``` - sudo journalctl -u ente-server | grep SendEmailOTT | tail -n 1 + sudo journalctl -au ente-server | grep SendEmailOTT | tail -n 1 ``` - Obtain the new users account ID: ``` diff --git a/ente-server.service b/ente-server.service index 49823db857de..360c1c955a20 100644 --- a/ente-server.service +++ b/ente-server.service @@ -5,6 +5,7 @@ Requires=postgresql.service minio.service [Service] ExecStart=/usr/bin/ente-server +Restart=on-failure Type=exec KillMode=control-group SyslogLevel=err |