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
zamentur
ea5ffb8498
Merge remote-tracking branch 'upstream/unstable' into unstable
...
Conflicts:
data/hooks/restore/05-conf_ldap
2016-02-08 22:52:28 +01:00
zamentur
b2a2a05598
[fix] Slapd.d directory was empty after restore
2016-02-08 22:41:55 +01:00
zamentur
b70cff29f7
[fix] Backup/restore without postinstall failed
2016-02-08 22:39:17 +01:00
Jérôme Lebleu
82185b86d5
[fix] Remove udisks-glue from conf_regen and services
...
udisks-glue has been removed from recommended packages by d6b0c357
since
it's no longer maintained - and also out-dated; the conf_regen hook refers
to an unavailable service.
Note that even it's not really used in YunoHost yet, it has been replaced
by udisks2 as suggested package.
2016-01-27 23:40:38 +01:00
Jérôme Lebleu
770de28f75
[enh] Check the slapd config file at first in conf_regen
2016-01-27 19:45:56 +01:00
Jérôme Lebleu
e5095d0185
[fix] Remove old dbconfig settings from slapd.conf
2016-01-27 18:57:21 +01:00
Jérôme Lebleu
a5568311db
[fix] Save LDAP database when switching to MDB (bugfix #169 )
...
As Wheezy is not supported anymore by next YunoHost releases, the slapd.conf
now comes with MDB as backend.
The LDAP database is also saved before switching to MDB backend and imported
after the configuration re-generation to prevent data loss.
2016-01-27 18:05:04 +01:00
Jérôme Lebleu
141d704a04
[fix] Review LDAP backup and restore hooks
...
The configuration is now saved using slapcat instead of trying to generate
it from slapd.conf - which generally fail at restoration.
Also, a backup of configuration and database is made before the restoration,
which allows to return to a "working" state if it fails.
2016-01-23 19:15:13 +01:00
Jérôme Lebleu
dbe58e9625
[enh] Update rmilter hook and dependencies for 1.7 release
2016-01-19 22:55:57 +01:00
Jérôme Lebleu
e16b560626
[fix] Correct condition syntax in metronome conf_regen hook
2016-01-19 18:52:29 +01:00
Jérôme Lebleu
a1ab3d5811
Merge pull request #118 from sbadia/unstable-grepv
...
hooks: Use a more elegant grep command for mysql process check
2015-12-31 18:54:26 +01:00
Jérôme Lebleu
4b4d91c6d3
[fix] Use rmilter as a socket-activated service
2015-12-31 13:00:35 +01:00
Sebastien Badia
aba6170054
hooks: Use a more elegant grep command for mysql process check
2015-12-29 00:19:05 +01:00
Jérôme Lebleu
13dd9b4f89
[fix] Use --output-as instead of deprecated options
2015-11-30 18:35:41 +01:00
julienmalik
8362bf2ec0
[fix] Do not exit at first service which can't be stopped
2015-11-16 12:33:07 +01:00
julienmalik
eae6ecc9c0
[fix] Log for rmilter instead of rspamd
2015-11-16 11:57:16 +01:00
kload
62c7079783
[fix] Unexpected warnings comming from stderr
2015-11-15 11:07:27 +01:00
kload
e6cfab1f6a
[fix] Do not remove the global_script directory
2015-11-15 00:55:00 +01:00
kload
947082db06
[fix] Restart Dovecot at the end of Rspamd configuration script
...
Dovecot was not taking Rspamd sieve script into account without it.
2015-11-14 18:48:04 +01:00
kload
08621f8b32
[fix] Remove spamassassin CRON as well
2015-11-01 10:24:33 +01:00
kload
0bbff4a416
[fix] Disable/stop previous email services only if we are forcing conf regeneration
2015-10-31 19:38:08 +01:00
kload
eea9b2e3af
[fix] Do not mind notices and warnings when parsing command response
2015-10-31 18:03:51 +01:00
kload
b51c450873
[fix] do not start Rspamd service, socket is enough
2015-10-31 16:49:35 +01:00
kload
70fb1f3a29
[fix] Restart rspamd socket before the service
2015-10-31 16:21:21 +01:00
kload
2019fb21ec
[fix] header_check path typo
2015-10-31 14:37:20 +01:00
kload
c7310e6b6e
[fix] Typo in email-legacy hook
2015-10-31 14:23:38 +01:00
kload
8abb523749
[fix] rmilter configuration path
2015-10-31 14:14:34 +01:00
kload
813ab01e9d
[enh] Replace the email stack by Rspamd/Rmilter
2015-10-31 12:33:06 +01:00
Jérôme Lebleu
ee1e3cdd3d
[fix] Remove already installed by metronome package files
2015-10-27 09:49:19 +01:00
Jérôme Lebleu
f4a9f1b85b
[fix] Install updated metronome 3.7 modules instead of copying
2015-10-08 15:55:17 +02:00
Adrien Beudin
00e066414e
[fix] Sieve permission denied
2015-10-07 16:39:06 +02:00
Adrien Beudin
e439737259
Sieve permission denied
2015-10-07 14:19:29 +02:00
zamentur
141937efdb
[enh] Don't restore apps nginx conf in conf_nginx restore script (it's
...
done by apps)
2015-10-04 12:48:56 +02:00
zamentur
d83f81be66
[fix] Restore with the app restore script from the backup
2015-10-03 22:17:02 +02:00
zamentur
98e92bdbac
[fix] Sudo on some backup script
2015-10-03 20:41:37 +02:00
Jérôme Lebleu
ef7234ce20
Merge pull request #104 from YunoHost/regen-conf
...
Major update: Add a configuration file generator
2015-10-03 03:29:06 +02:00
Jérôme Lebleu
7280a56e16
[enh] Bind folders in data backup hooks instead of copying them
2015-10-03 00:59:19 +02:00
kload
0e76b82360
[fix] begin serial at 00 for SSL cert generation
2015-10-02 23:34:05 +02:00