Skip to content

Commit a2fab97

Browse files
authored
Merge pull request #199 from eibex/patch-1
Small english fixes
2 parents 4fb5fee + 48e8703 commit a2fab97

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

README.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ With many clients all checking for updates a large portion of the server load ca
1313
By providing a way for the server to send update notifications to the clients, the need for the clients to make these
1414
checks can be greatly reduced.
1515

16-
Update notifications are provided on a "best effort" basis, updates might happen without a notification being send and a
17-
notification can be send even if no update has actually happened. Clients are advised to still perform periodic checks
16+
Update notifications are provided on a "best effort" basis, updates might happen without a notification being sent and a
17+
notification can be sent even if no update has actually happened. Clients are advised to still perform periodic checks
1818
for updates on their own, although these can be run on a much lower frequency.
1919

2020
## Requirements
@@ -41,13 +41,12 @@ The setup required consists of three steps
4141
### Push server
4242

4343
The push server should be setup to run as a background daemon, the recommended way is by setting it up as a system service in the init system.
44-
If you're not using systemd than any init or process management system that runs the push server binary
45-
with the described environment variables will work.
44+
If you're not using systemd then any init or process management system that runs the push server binary with the described environment variables will work.
4645

4746
#### systemd
4847

4948

50-
For systemd based setups, can create a systemd service by creating a file named `/etc/systemd/system/notify_push.service` with the following
49+
For systemd based setups, you can create a systemd service by creating a file named `/etc/systemd/system/notify_push.service` with the following
5150
content.
5251

5352
```ini
@@ -88,8 +87,7 @@ WantedBy = multi-user.target
8887

8988
#### OpenRC
9089

91-
For OpenRC based setups, you can create a OpenRC service by creating a file named
92-
`/etc/init.d/notify_push` with the following content.
90+
For OpenRC based setups, you can create an OpenRC service by creating a file named `/etc/init.d/notify_push` with the following content.
9391

9492
```sh
9593
#!/sbin/openrc-run
@@ -119,13 +117,11 @@ Adjust the paths, ports and user as needed.
119117

120118
#### Configuration
121119

122-
The push server can be configured either by loading the config from the nextcloud `config.php`
123-
or by setting all options through environment variables.
120+
The push server can be configured either by loading the config from the nextcloud `config.php` or by setting all options through environment variables.
124121

125122
Re-using the configuration from nextcloud is the recommended way, as it ensures that the configuration remains in sync.
126123

127-
If using the `config.php` isn't possible, you can configure the push server by setting the following environment
128-
variables:
124+
If using the `config.php` isn't possible, you can configure the push server by setting the following environment variables:
129125

130126
- `DATABASE_URL` connection url for the Nextcloud database, e.g. `postgres://user:password@db_host/db_name`
131127
- `DATABASE_PREFIX` database prefix configured in Nextcloud, e.g. `oc_`

0 commit comments

Comments
 (0)