-updated INSTALL.md

-fixes in install-polylith-systemd-units.sh
This commit is contained in:
Dmitrij Pastian 2020-10-20 19:09:47 +02:00
parent 4394930ce8
commit acffbe6cd2
2 changed files with 18 additions and 6 deletions

View file

@ -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@*
```

View file

@ -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