Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Slavi Pantaleev
b1b4ba501f
Replace ExecStop with ExecStopPost
...
ExecStopPost should allow us to clean up (docker kill + docker rm)
even if the ExecStart (docker run ..) command failed, and not just after
a graceful service stop was initiated.
Source: https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStopPost=
3 years ago
boris runakov
d3a9ec98de
refactoring
3 years ago
boris runakov
1ec67f49b0
replaced 8008 where possible
3 years ago
Slavi Pantaleev
735c966ab6
Disable systemd services when stopping to uninstall them
...
Until now, we were leaving services "enabled"
(symlinks in /etc/systemd/system/multi-user.target.wants/).
We clean these up now. Broken symlinks may still exist in older
installations that enabled/disabled services. We're not taking care
to fix these up. It's just a cosmetic defect anyway.
3 years ago
benkuly
49cb2635a2
updated matrix-sms-bridge
4 years ago
Ahmad Haghighi
e335f3fc77
rename matrix_global_registry to matrix_container_global_registry_prefix related to #990
...
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 years ago
Ahmad Haghighi
f52a8b6484
use custom docker registry
4 years ago
rakshazi
2f887f292c
added "matrix_%SERVICE%_version" variable to all roles, use it in "matrix_%SERVICE%_docker_image" var (preserving backward-compatibility)
4 years ago
Slavi Pantaleev
1692a28fe4
Work around annoying Docker warning about undefined $HOME
...
> WARNING: Error loading config file: .dockercfg: $HOME is not defined
.. which appeared in Docker 20.10.
4 years ago
Slavi Pantaleev
05ca9357a8
Add .service suffix to systemd units list
...
We'll be adding `.timer` units later on, so it's good to be
more explicit.
4 years ago
Slavi Pantaleev
d08b27784f
Fix systemd services autostart problem with Docker 20.10
...
The Docker 19.04 -> 20.10 upgrade contains the following change
in `/usr/lib/systemd/system/docker.service`:
```
-BindsTo=containerd.service
-After=network-online.target firewalld.service containerd.service
+After=network-online.target firewalld.service containerd.service multi-user.target
-Requires=docker.socket
+Requires=docker.socket containerd.service
Wants=network-online.target
```
The `multi-user.target` requirement in `After` seems to be in conflict
with our `WantedBy=multi-user.target` and `After=docker.service` /
`Requires=docker.service` definitions, causing the following error on
startup for all of our systemd services:
> Job matrix-synapse.service/start deleted to break ordering cycle starting with multi-user.target/start
A workaround which appears to work is to add `DefaultDependencies=no`
to all of our services.
4 years ago
benkuly
ad92c61fdd
updated matrix-sms-bridge
4 years ago
benkuly
f93a4f6474
updated matrix-sms-bridge
4 years ago
benkuly
ff9a4e90c4
updated matrix-sms-bridge
4 years ago
benkuly
3a2e058f2e
updated version of matrix-sms-bridge
4 years ago
benkuly
f1ceb49ae2
fixed wrong path of truststore
4 years ago
benkuly
ad1f0a01ce
fixed systemd service typo
4 years ago
benkuly
76b0b9dc34
fixed application.yml loading
4 years ago
benkuly
2fb42dd7f1
fixed typo in truststore path
4 years ago
benkuly
4713e5d5f7
updated matrix-sms-bridge to 0.5.0
4 years ago
benkuly
8153e25d2d
updated matrix-sms-bridge image
4 years ago
benkuly
787a9ef8ad
updated matrix-sms-bridge image
4 years ago
benkuly
775b1ca7af
updated matrix-sms-bridge image version
4 years ago
Slavi Pantaleev
ccabc82d4c
Use more fully-qualified container images
...
This is both for consistency with 93cc71cb69976c
and for making things more obvious.
4 years ago
benkuly
c985e17f18
updated matrix-sms-bridge
4 years ago
Scott Crossen
fa5d85426b
Renamed systemd descriptions for all bridges
4 years ago
benkuly
7755e5efd4
Update sms-bridge (0.3.1 -> 0.3.2)
4 years ago
benkuly
a1e248e0e1
updated matrix-sms-bridge ( #581 )
...
* updated matrix sms bridge container
* remove force pull
* updated matrix-sms-bridge container
* updated matrix-sms-bridge container
* updated version of matrix-sms-bridge
* updates matrix-sms-bridge
4 years ago
benkuly
3553d3d513
updated version of matrix-sms-bridge
4 years ago
benkuly
8e1a418a45
updated matrix-sms-bridge container
4 years ago
benkuly
bd3223cdd4
updated matrix-sms-bridge container
4 years ago
benkuly
226d5a9c64
remove force pull
4 years ago
benkuly
c5f9e02103
updated matrix sms bridge container
4 years ago
benkuly
d49ee51035
remove force pull matrix-sms-bridge docker image
5 years ago
benkuly
a0661a6012
updated sms bridge docker image
5 years ago
benkuly
11e53c4fbc
add default region
5 years ago
benkuly
77fd23149b
added gammu hard reset for sms modem
5 years ago
benkuly
f68e47d3c4
renamed role matrix-sms-bridge to matrix-bridge-sms
5 years ago