mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-25 07:43:10 -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/
|
* path: /home/dendrite/server/
|
||||||
* selection: all
|
* 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
|
```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
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
declare PARAM_TEMPLATED="yes"
|
|
||||||
|
|
||||||
|
|
||||||
#Array with all servers
|
#Array with all servers
|
||||||
SERVERS=( "clientapi" \
|
SERVERS=( "clientapi" \
|
||||||
|
|
@ -54,7 +52,7 @@ function generateServiceUnit()
|
||||||
fi
|
fi
|
||||||
cat <<-EOF > /etc/systemd/system/dendrite@.service
|
cat <<-EOF > /etc/systemd/system/dendrite@.service
|
||||||
[Unit]
|
[Unit]
|
||||||
Description= Dendrite PolyLit Multi - %I
|
Description= Dendrite PolyLith Multi - %I
|
||||||
PartOf=polyDendrite.service
|
PartOf=polyDendrite.service
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue