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
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
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
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
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
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
Maniack Crudelis
390835e96a
[fix] Logrotate append ( #328 )
...
* [fix] Logrotate append
* Typo fix by JimboJoe
2017-07-24 02:50:48 +02:00
Maniack Crudelis
9782f05887
New helpers ynh_add_fpm_config and ynh_remove_fpm_config ( #284 )
...
* New helpers ynh_add_fpm_config and ynh_remove_fpm_config
Standard configuration of php-fpm.
Use local files stored in conf/, so it's still possible to use a specific config
* ynh_substitute_char was renamed to ynh_replace_string
* Update checksum command and quiet the second secure_remove
* Fix helpers name
2017-07-10 17:48:32 +02:00
Maniack Crudelis
a01f7ffd2b
[Fix] Forgot an asterisk in logrotate helper ( #320 )
2017-06-13 22:18:48 +02:00
Maniack Crudelis
f2e656176e
Failed if $1 not set
...
Because we use set -u, this helper failed if the optional arg is not set
2017-03-13 23:29:47 +01:00
Maniack Crudelis
12b223b2f5
[enh] New helpers for logrotate
...
Add and remove logrotate config
2017-02-09 00:02:47 +01:00