Commit graph

241 commits

Author SHA1 Message Date
Jérôme Lebleu
0065a7512d [enh] Force new MySQL password set if it's unknown at regen-conf 2016-04-22 12:21:19 +02:00
Jérôme Lebleu
13ed77a6ca [fix] Set default values for force and dry_run in conf_regen hooks 2016-04-22 12:18:25 +02:00
Moul
3ecd22c372 [fix] use '-p' option of mkdir command to check '/etc/dkim' folder exist at its creation. 2016-04-22 00:04:26 +02:00
Jérôme Lebleu
4912a2afae [fix] Init LDAP with package installation to fix ynh post-install 2016-04-21 22:59:36 +02:00
Jérôme Lebleu
0c609f5709 [fix] Create /etc/dkim if not exists in rmilter conf_regen hook 2016-04-21 22:57:29 +02:00
Jérôme Lebleu
cdf3c13bf5 [enh] Add a dry-run option for service_regen_conf 2016-04-19 20:52:45 +02:00
Jérôme Lebleu
f96b2afca9 [fix] Remove useless email_legacy conf_regen hook
The file `/etc/yunohost/ervices.yml` is now updated thanks to 0bacf65,
allowing to add new services and remove old ones.
Moreover, while migrating to new YunoHost version, the user should execute
`apt-get autoremove` to remove old packages such as spamassassin, amavis and
postgrey. This sounds more reliable and allows to get rid of this useless hook
which would be executed for ever, trying to stop already removed services.
2016-04-17 17:03:10 +02:00
Jérôme Lebleu
dcdf852602 [enh] Update services.yml in yunohost conf_regen and update its content 2016-04-17 16:59:49 +02:00
Jérôme Lebleu
d24cd494f3 [fix] Update package first install and call some conf_regen hooks with init 2016-04-16 19:32:18 +02:00
Jérôme Lebleu
6c3de740aa [enh] Restart services as needed only in conf_regen hooks 2016-04-16 18:36:20 +02:00
Jérôme Lebleu
b4e50f8af6 [enh] Ensure that mysql is running and restart as needed in conf_regen hook 2016-04-16 18:24:41 +02:00
Jérôme Lebleu
b3bb2c512d [enh] Compile sieve script as needed and fix permissions in rspamd conf_regen 2016-04-16 18:20:51 +02:00
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