Commit graph

55 commits

Author SHA1 Message Date
Alexandre Aubin
a0986f2377
Merge pull request #633 from YunoHost/add_ynh_systemd_action
[enh] Add ynh_systemd_action helper
2019-03-09 15:34:33 +01:00
Maniack Crudelis
b3edc2a63c
Fix ynh_add_fail2ban_config legacy mode
Merged as a micro decision
Fix https://github.com/YunoHost/issues/issues/1313
2019-02-26 01:59:03 +01:00
Alexandre Aubin
9cb71e61f4
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-22 12:38:43 +01:00
Alexandre Aubin
8085838072
Merge pull request #364 from YunoHost-Apps/enh_add_fail2ban_helpers
[enh] Add fail2ban helpers
2019-02-18 16:33:58 +01:00
Maniack Crudelis
ccb0cad296
Fix various issues 2019-02-15 16:32:13 +01:00
Maniack Crudelis
54eb3efec0
Reorganize comment header 2019-02-15 16:21:30 +01:00
Maniack Crudelis
91d1849750
Update usage comment 2019-02-15 16:18:36 +01:00
Josué Tille
bba393c45c
Add possibility to use template or predefined config 2019-02-15 14:06:53 +01:00
Josué Tille
140ae8e51a
Change the way to manage the jail and filter file and improve documentations
Using a template file make more easy to use a custom failregex.
It also give the possiblitity to use custom settings in the fail2ban config
2019-02-13 21:25:49 +01:00
Maniack Crudelis
76e1c2e395
Fix template variable in ynh_add_systemd_config
Merged as a micro decision, as it's only a small mistake.
2019-02-10 20:51:40 +01:00
Maniack Crudelis
8e8ed22395
Fix usage of $service_name 2019-02-09 11:38:15 +01:00
Alexandre Aubin
508439b112
Merge branch 'stretch-unstable' into add_ynh_systemd_action 2019-02-08 19:45:19 +01:00
Maniack Crudelis
35ffadbe1c
Use ynh_systemd_action for backend helpers 2019-01-28 16:26:43 +01:00
Maniack Crudelis
e14d897c13
Merge branch 'stretch-unstable' into use_getops 2019-01-27 23:11:50 +01:00
Alexandre Aubin
e706daa9b9
Update data/helpers.d/backend
Co-Authored-By: maniackcrudelis <maniackcrudelis@users.noreply.github.com>
2019-01-24 18:33:35 +01:00
Maniack Crudelis
37810a22a2
Fix #548 2019-01-24 18:20:40 +01:00
Maniack Crudelis
976f160afb Fix getopts and its legacy mode 2019-01-04 17:11:49 +01:00
Maniack Crudelis
4bac17a162
Merge branch 'stretch-unstable' into use_getops 2018-12-29 19:07:25 +01:00
Maniack Crudelis
705fe435ed
Use getopts helpers in backend 2018-12-29 18:52:23 +01:00
Maniack Crudelis
41c1a9ce13 Do not use a separate ini file for php pools (#548)
Have a look to https://github.com/YunoHost-Apps/nextcloud_ynh/issues/138 for more information.
2018-12-01 23:07:32 +01:00
Alexandre Aubin
787bfaa058
We are in Stretch and use php7 now (#566) 2018-11-04 16:14:56 +01:00
Maniack Crudelis
2840531cf4
Fix bad copy paste 2018-10-17 00:11:08 +02:00
Maniack Crudelis
f354c4b833
Use getopts for ynh_add_systemd_config and ynh_remove_systemd_config 2018-10-16 16:57:24 +02:00
Maniack Crudelis
16e00fb7e6
Use getopts for ynh_use_logrotate 2018-10-10 21:15:06 +02:00
Maniack Crudelis
22cff38bbb
Revert Indentation typo
It's part of the syntax
2018-09-05 19:57:11 +02:00
Alexandre Aubin
26fe3d8c95
Indentation typo 2018-09-02 18:02:32 +02:00
Alexandre Aubin
fa2d80bce7
Remove sudo 2018-08-29 13:27:25 +02:00
Alexandre Aubin
62c8f577c9
Remove old sudo 2018-08-29 13:25:29 +02:00
Maniack Crudelis
7752bc0fb7
Update fail2ban helpers from experimental helpers. 2018-08-27 21:51:36 +02:00
Josue-T
36fd98e020
Fix switch user/group 2018-08-03 09:38:39 +02:00
Josue-T
e2567c82f1
Add su directive as option for logroate 2018-07-31 17:30:26 +02:00
Jimmy Monin
561f1aecb0 Update to latest version from Experimental_helpers 2018-05-19 10:11:16 +02:00
Josué Tille
82b598b5ca Fix from comment PR #462 2018-05-12 21:31:12 +02:00
Josue-T
0f8cef9cf8
Helper - improve ynh_add_nginx_config
Add 2 new features :
- Permit to replace some others variables in the template
- Manage automatically the redirection (alias_transversal issue fix)
2018-05-10 00:05:46 +02:00
Alexandre Aubin
935b972d6e Misc fixes in the helpers to clean the autodoc 2018-03-09 17:55:07 +01:00
Laurent Peuch
a343e39dda
Merge pull request #425 from Josue-T/systemd_config
Add service name as arg (optionnal) in helper systemd
2018-02-09 00:40:24 +01:00
Laurent Peuch
92a3caa8b2
Merge pull request #373 from YunoHost/enh-phpfpm-helper-php7-stretch
Update php-fpm helpers to handle stretch/php7 and a smooth migration
2018-02-08 00:08:40 +01:00
Alexandre Aubin
a975e5e684
Improve comment / helper description 2018-01-26 22:21:14 +01:00
Josué Tille
9c4ddcca39 Add service name as arg (optionnal) 2018-01-26 21:17:18 +01:00
Maniack Crudelis
3a3ec7d9b5 [fix/enh] Use local variables 2017-12-17 20:26:52 +01:00
Josue-T
c13c75f3e7
Solve ynh_use_logrotate
Actually when we use the command `ynh_use_logrotate /var/log/abcd/` the result in the logrotate conf file is `/opt/yunohost/abcd/logs//.log` witch is not what we want.
2017-12-08 23:04:45 +01:00
Alexandre Aubin
dfa7ca28bf [microdecision] Typo 2017-10-16 21:31:59 +02:00
Maniack Crudelis
220c447074 [enh] Handle root path in nginx conf (#361)
Avoid to put a double slash when the path is /.  
That can induce some errors in a nginx config.
2017-09-30 13:01:15 +02:00
Jimmy Monin
330a6fb9a7 Add and use ynh_get_debian_release 2017-09-25 21:59:55 +02:00
Jimmy Monin
8590d6b5c6 Update php-fpm helpers to handle stretch/php7 and a smooth migration 2017-09-23 18:45:59 +02:00
Jimmy Monin
35d4a1001f Add fail2ban helpers 2017-09-02 18:27:25 +02:00
Alexandre Aubin
88a6c3d83a Missing parenthesis in helper :| 2017-08-06 02:37:17 +02:00
Maniack Crudelis
f4fabe1edb Fix syntax error: unexpected end of file (#337) 2017-08-02 18:44:32 +02:00
Maniack Crudelis
a006868cbe New helpers ynh_add_systemd_config and ynh_remove_systemd_config (#287)
* New helpers ynh_add_systemd_config and ynh_remove_systemd_config
Standard file for systemd service.
* ynh_subsistute_char was renamed ynh_replace_string
* Upgrade helpers
* Add some description of which keywords are replaced by which variable
2017-07-28 19:21:22 +02:00
Maniack Crudelis
80242a8edc New helpers ynh_add_nginx_config and ynh_remove_nginx_config (#285)
* New helpers ynh_add_nginx_config and ynh_remove_nginx_config
Standard configuration of nginx
Use local files stored in conf/, so it's still possible to use a specific config
* ynh_substitute_char was renamed ynh_replace_string
* ynh_compare_checksum_config -> ynh_backup_if_checksum_is_different
* Upgrade helpers
* Add some description of which keywords are replaced by which variable
2017-07-28 19:11:28 +02:00