Éric Gaspar
965d45f287
v2
2023-02-07 22:27:23 +01:00
Éric Gaspar
03a60d6bee
Update systemd.service
2022-08-06 22:38:35 +02:00
Éric Gaspar
7cc2f8842b
Update systemd.service
2022-06-29 00:26:50 +02:00
biva
fd0d0ad67e
Adapt to PostgreSQL ( #375 )
...
Question: in https://docs.mattermost.com/install/install-debian.html#install-postgresql-database-server , I see `BindsTo=postgresql.service` while in the original file here I find `Requires=mysql.service`. I don't know which one makes sense, so I keep the orinigal Yunohost version (Requires)
2022-06-22 10:50:57 +02:00
Pierre de La Morinerie
468a6a684d
conf: update systemd conf to fix preview links
...
The previous systemd hardening prevented the Go networking library from
resolving a hostname to an IP.
Adding the correct permission fixes the hostname resolution, which fixes
the retrieval of link previews by Mattermost's server.
Fix #340
2022-04-12 08:30:58 +02:00
Pierre de La Morinerie
b3647e3db5
config: store the socket file in a writable location
...
On Yunhost `/var/tmp` is only writable by root.
2021-11-01 22:41:51 +01:00
Éric Gaspar
1b7fb89181
Update systemd.service ( #273 )
2021-09-09 23:45:22 +02:00
Éric Gaspar
705b3da0e7
repackage ( #200 )
...
* repackage
2021-01-11 23:46:48 +01:00
Pierre de La Morinerie
9f19e0c550
Replace invokations of bin/platform to bin/mattermost
2018-07-12 08:30:47 +02:00
Pierre de La Morinerie
d10c3cf7b3
conf: increase systemd start timeout
...
This allows for time to execute database migrations, and is in line
with the official Mattermost docs.
2018-03-16 18:37:17 +05:30
Pierre de La Morinerie
1404063a5c
conf: add file overwrite warning
2018-03-16 18:37:17 +05:30
Pierre de La Morinerie
397793f407
conf: make the start timeout explicit
...
This is the default value of systemd, made explicit. If startup takes
longer than that, the process will be killed.
2018-03-16 18:37:17 +05:30
Pierre de La Morinerie
331fcce8c5
conf: use a Type=notify systemd service
...
Starting from Mattermost 4.8, the server process sends a systemd
notification when it is ready to accept network connections. Thus we
don't need to explicitely wait for the port to be open in the service.
As a bonus, by removing the hack, we don't need to replace `__PORT__` in
the service anymore–which means the associated script helper can be
removed too.
2018-03-16 18:37:17 +05:30
Pierre de La Morinerie
0918978e92
scripts: handle port in use
2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
e8c51d4715
scripts: use systemd rather than supervisor
...
Systemd is now the standard way of doing services in
Yunohost. It also avoids to install an extra dependency.
Fix #43
2017-10-16 09:05:21 +05:30