1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00
Commit graph

22 commits

Author SHA1 Message Date
Éric Gaspar
705b3da0e7
repackage (#200)
* repackage
2021-01-11 23:46:48 +01:00
Pierre de La Morinerie
6826e253b4 scripts: use a per-instance db username
The scripts still uses "mmuser" by default, for retro-compatibility.
2020-02-18 22:31:15 +01:00
Pierre de La Morinerie
fefff41733 scripts: remove all usages of sudo
The scripts are already run as root.
2020-02-09 01:07:59 +01:00
Pierre de La Morinerie
e526f969a9 scripts: remove the service before removing the systemd config
Yunohost complains if the systemd unit doesn't exist when removing
the service.
2020-02-09 01:07:59 +01:00
yalh76
7dacf55dfe
Fix package_linter error 2019-05-24 04:59:14 +02:00
Pierre de La Morinerie
3c9e53fe57 scripts: rename smtp_user to mattermost_user 2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
256cafcb07 scripts: support multi-instance install 2018-01-31 11:42:52 +05:30
Pierre de La Morinerie
b4f05f6449 scripts: move logs to a subdirectory of /var/log
This allows to give permission to the `mattermost` user to
write new files in this subdirectory, which is needed for
log rotation.

Fix #61
2017-10-17 10:36:25 +05:30
Pierre de La Morinerie
d79c4fcfe4 scripts: advertise service in admin panel 2017-10-16 09:14:20 +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
Pierre de La Morinerie
f781efb160 scripts: use ynh_add_nginx_config helper 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
a0a9fe6ab7 remove: use ynh_system_user_delete helper 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
f2013abebc remove: use ynh_mysql_remove_db helper 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
1a40ff1eed remove: use more variables instead of hardcoded values 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
c2e27b9764 remove: improve comments 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
c51127e1eb install: don’t fail to remove database if not exist 2017-10-12 12:27:09 +05:30
Pierre de La Morinerie
75fff3fd95 scripts: don’t warn when supervisor config file doesn’t exist 2017-09-12 15:07:56 +05:30
Pierre de La Morinerie
cb0d4ddc75 scripts: modernize and fix linter warnings 2017-09-11 12:53:22 +05:30
Pierre de La Morinerie
30ed4e710e scripts: exit on unbound variables
Fixes a package_linter warning.
2017-09-11 12:53:22 +05:30
Pierre de La Morinerie
b138752237 Put uploaded files outside of source directory 2015-10-31 18:01:49 +01:00
Pierre de La Morinerie
e11d51b3b7 Better install; email notifications 2015-10-21 14:33:49 +02:00
Pierre de La Morinerie
9d56b71ee4 First version 2015-10-21 13:03:49 +02:00