Commit graph

329 commits

Author SHA1 Message Date
Jérôme Lebleu
6c7e202321 [enh] Compile sieve script as needed and fix permissions in dovecot conf_regen 2016-04-16 18:05:41 +02:00
Jérôme Lebleu
0d30ef6277 [fix] Compare current with new LDAP backend and process as needed in conf_regen 2016-04-16 17:52:45 +02:00
Jérôme Lebleu
bade8c5649 [fix] Be less restrictive on domain name in metronome conf_regen hook 2016-04-16 16:46:22 +02:00
Jérôme Lebleu
d851237dc2 [enh] Update nginx conf_regen hook and simplify plain conf files copy 2016-04-16 16:43:13 +02:00
Jérôme Lebleu
f019188a90 [enh] Update mysql conf_regen hook and use helpers for password generation 2016-04-16 16:07:24 +02:00
Jérôme Lebleu
cdd36570f8 [fix] Rename metronome template conf files 2016-04-16 15:20:05 +02:00
Jérôme Lebleu
41f9b2c76c [enh] Update dnsmasq conf_regen hook and use loopback address by default 2016-04-16 15:17:22 +02:00
Jérôme Lebleu
8269788172 [fix] Typo and variable name fixes in conf_regen hooks 2016-04-16 14:41:54 +02:00
Jérôme Lebleu
047015ef61 [enh] Update rmilter and rspamd conf_regen hooks 2016-04-16 14:37:20 +02:00
Jérôme Lebleu
df9094b896 [enh] Update dovecot conf_regen hook 2016-04-16 11:39:43 +02:00
Jérôme Lebleu
3eacbef144 [enh] Update fail2ban conf_regen hook and drop wheezy support 2016-04-13 22:35:40 +02:00
Jérôme Lebleu
93fa6b07da [fix] Simplify directory creation in metronome conf_regen hook 2016-04-13 22:34:11 +02:00
Jérôme Lebleu
c8255fbc0c [enh] Update avahi-daemon, glances and nsswitch conf_regen hooks 2016-04-13 22:27:43 +02:00
Jérôme Lebleu
c09abeaec1 [enh] Update postfix conf_regen hook and simplify plain conf files copy 2016-04-12 21:41:52 +02:00
Jérôme Lebleu
2d28006c83 [enh] Update metronome conf_regen hook 2016-04-12 21:20:17 +02:00
Jérôme Lebleu
99002b9f42 [enh] Update nslcd conf_regen hook and do not edit the file by hand 2016-04-11 22:04:56 +02:00
Jérôme Lebleu
0f9e777fc6 [enh] Update slapd conf_regen hook 2016-04-11 22:03:50 +02:00
Jérôme Lebleu
386f25b3bf [enh] Mark conf_regen hooks as executable interpreted scripts 2016-04-11 21:31:40 +02:00
Jérôme Lebleu
4090630bd9 [enh] Update yunohost, ssl and ssh conf_regen hooks 2016-04-11 21:26:13 +02:00
Jérôme Lebleu
96d4eb3396 [clean] Move conf_regen hooks to prevent issue while updating them 2016-04-11 17:30:57 +02:00
Jérôme Lebleu
e7adbbf630 [fix] Use rspamd local.d folder to allow users to override the defaults 2016-03-28 19:21:43 +02:00
Jérôme Lebleu
ca54418441 [enh] Use new rspamd configuration system to override metrics 2016-03-28 19:11:50 +02:00
Jérôme Lebleu
8f7d75f5ff [fix] Don't fail dnsmasq regen if IPv4/6 cannot be retrieved 2016-03-23 13:22:53 +01:00
Julien Malik
1300f4c0ca [fix] fix lintian script-not-executable 2016-03-12 00:20:52 +01:00
Julien Malik
02346776f2 [fix] follow up directory move /usr/share/yunohost/helpers 2016-03-12 00:15:15 +01:00
Julien Malik
83f4c6a65f [fix] Validate IP addresses returned by ipX.yunohost.org 2016-03-11 11:34:03 +01:00
Julien Malik
5d5976d31e [fix] Workaround for the bad people who are not using IPv6 yet 2016-03-09 08:42:17 +01:00
Julien Malik
f1d5c1fe92 [fix] use ip6.yunohost.org, more reliable than ipv6.yunohost.org 2016-03-08 18:47:48 +01:00
Julien Malik
7241869985 [fix] use ipX.yunohost.org service to retrieve public IP 2016-03-08 16:57:43 +01:00
Julien Malik
735053ad14 [fix] ip.yunohost.org is https now 2016-03-08 15:38:06 +01:00
Julien Malik
81fde7482d [enh] first stop rspamd.service, then start rspamd.socket 2016-03-08 15:31:18 +01:00
Julien Malik
a072d4109e [enh] slaptest outputs on stderr, so generates a WARNING. make it quiet 2016-03-08 15:22:44 +01:00
Julien Malik
16ba0b9831 [enh] use lowercase to be consistent with the service name 2016-03-08 14:40:28 +01:00
Julien Malik
051293e288 [fix] if we reached end of script, exit with success, instead of the last command result 2016-03-08 14:32:05 +01:00
Julien Malik
18c1a7d506 [enh] rm -f ignore non existent files 2016-03-08 14:29:15 +01:00
Julien Malik
0eb2a9b624 [enh] remove useless '|| true'. set -e does not exit for complex commands 2016-03-08 14:28:53 +01:00
Julien Malik
83c881f5b4 [enh] remove failure in the script 2016-03-08 14:16:46 +01:00
Julien Malik
64949cea38 [enh] do not fail in this section of the script 2016-03-08 14:15:35 +01:00
Julien Malik
4f8fcd3251 [enh] beautify script 2016-03-08 14:14:15 +01:00
Julien Malik
c4d5f664d1 [fix] do not output warnings when services are already uninstalled/disabled (fix #215) 2016-03-08 14:12:41 +01:00
Julien Malik
479a0d0abf [enh] no need for && here 2016-03-08 14:12:41 +01:00
Julien Malik
0899ca055e [fix] rspamd/rmilter now uses redis-server instead of memcached 2016-03-08 14:12:41 +01:00
Julien Malik
0d49e8a24f [fix] remove useless whitespace 2016-03-08 14:12:41 +01:00
julienmalik
9d6f9d4c07 Merge pull request #121 from infertux/nginx_server_tokens
[fix] Don't emit Nginx version
2016-02-29 12:11:20 +01:00
Cédric Félizard
fe26478e03 Don't emit Nginx version
http://nginx.org/en/docs/http/ngx_http_core_module.html#server_tokens
2016-02-29 10:39:13 +00:00
julienmalik
b20bd7311d [fix] misssing sudo when removing files in /etc/nginx 2016-02-25 12:18:40 +01:00
julienmalik
8196717e96 [fix] missing brackets for testing saferemove output 2016-02-25 12:18:01 +01:00
julienmalik
e93b036830 [fix] access to /var/lib/metronome/ needs sudo permissions
During a domain removal, I hit this error :

2016-02-25 11:52:31,702 INFO     yunohost.hook <lambda> - [4615.1] + rm -rf /var/lib/metronome/{{domain}}
2016-02-25 11:52:31,705 WARNING  yunohost.hook <lambda> - [4615.1] rm: cannot remove ‘/var/lib/metronome/{{domain}}’: Permission denied
2016-02-25 11:52:31,803 ERROR    yunohost.hook hook_callback - [4615.1] Script execution failed
2016-02-25 12:03:54 +01:00
Jérôme Lebleu
ec590bdef8 [fix] Restart the service if reloading fails in conf_regen (bugfix #195) 2016-02-21 18:11:27 +01:00
Jérôme Lebleu
3eea7bcb48 [fix] Start socket and stop rspamd/rmilter services in conf_regen (bugfix #196) 2016-02-21 17:58:08 +01:00