mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-24 07:13:09 -06:00
-updated INSTALL.md
-fixes in install-polylith-systemd-units.sh
This commit is contained in:
parent
4394930ce8
commit
acffbe6cd2
|
|
@ -316,9 +316,23 @@ Example:
|
|||
* path: /home/dendrite/server/
|
||||
* selection: all
|
||||
|
||||
In order to start all installed services the wrapper "polyDendrite.service" can be used:
|
||||
How to start a specific service (e.g clientapi):
|
||||
```bash
|
||||
# systemctl start polyDendrite.service
|
||||
# systemctl start dendrite@clientapi
|
||||
```
|
||||
|
||||
Monitor with
|
||||
...or all services using a wildcard:
|
||||
```bash
|
||||
# systemctl start dendrite@*
|
||||
```
|
||||
|
||||
Monitor with journalctl:
|
||||
|
||||
```bash
|
||||
# journalctl -fu dendrite@clientapi
|
||||
```
|
||||
or
|
||||
|
||||
```bash
|
||||
# journalctl -fu dendrite@*
|
||||
```
|
||||
|
|
|
|||
|
|
@ -22,8 +22,6 @@ print_param_options()
|
|||
done
|
||||
}
|
||||
|
||||
declare PARAM_TEMPLATED="yes"
|
||||
|
||||
|
||||
#Array with all servers
|
||||
SERVERS=( "clientapi" \
|
||||
|
|
@ -54,7 +52,7 @@ function generateServiceUnit()
|
|||
fi
|
||||
cat <<-EOF > /etc/systemd/system/dendrite@.service
|
||||
[Unit]
|
||||
Description= Dendrite PolyLit Multi - %I
|
||||
Description= Dendrite PolyLith Multi - %I
|
||||
PartOf=polyDendrite.service
|
||||
After=network.target
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue