Commit graph

4436 commits

Author SHA1 Message Date
Laurent Peuch
1fab47cbea [mod] reduce indentation level 2018-05-12 03:13:29 +02:00
Laurent Peuch
bd28c24479 [mod] blank lines to make code more readable 2018-05-12 03:13:29 +02:00
Laurent Peuch
54dffa5f94 [mod] refactor service_log to make is readable 2018-05-11 05:08:02 +02:00
Laurent Peuch
2bef98a519 [enh] add path to service file in service status 2018-05-11 04:51:28 +02:00
Laurent Peuch
0011c4ab56 [enh] get since how much time a service is running 2018-05-11 04:49:52 +02:00
Laurent Peuch
1b774527d8 [enh] get active status of service 2018-05-11 04:49:43 +02:00
Laurent Peuch
929515ba94 [mod] remove useless import 2018-05-11 04:49:20 +02:00
Laurent Peuch
07139e7bc1 [enh] display service description on status 2018-05-11 04:40:35 +02:00
Laurent Peuch
f4df8c8ec8 [enh] move to dbus to retreive service status 2018-05-11 04:35:28 +02:00
Alexandre Aubin
8186f044dc Replace the nginx.conf thing with a function called at the beginning of the migration that restore the original file if it was modified 2018-05-11 03:32:54 +02:00
Laurent Peuch
7ea53f2ff7 [fix] metldown script can now returns 2/3 return code 2018-05-11 01:25:41 +02:00
Alexandre Aubin
d769f539ab apt and hold packages are fucking stupid, so we need to handle this the dirty way 2018-05-10 23:46:08 +02:00
Bram
9d1ed9e8d2
Merge branch 'unstable' into clean_services.py 2018-05-10 23:39:02 +02:00
Alexandre Aubin
cc240e94ca Merge branch 'unstable' of https://github.com/yunohost/yunohost into unstable 2018-05-10 22:58:43 +02:00
Alexandre Aubin
e848524912 Unused imports, PEP8 2018-05-10 22:58:28 +02:00
Alexandre Aubin
2843ce923d Have a specific upgrade for nginx-common because some people edit /etc/nginx/nginx.conf 2018-05-10 22:37:27 +02:00
Laurent Peuch
4420cc300a [mod] remove unused variable 2018-05-10 22:10:35 +02:00
Laurent Peuch
061b6bbcce [enh] display service journalctl logs on failed to start/stop/enable/disable error 2018-05-10 22:09:02 +02:00
Laurent Peuch
e8412ae0c8 [mod] more debug information 2018-05-10 19:44:05 +02:00
Laurent Peuch
ae89e38d56 [fix] some services are marked as None 2018-05-10 19:17:13 +02:00
Alexandre Aubin
118b6fe51e Merge commit '77fcb6ad1285f61424190efd5ab12c5de3bd38eb' into update-spectre-meltdown-checker 2018-05-10 03:26:52 +02:00
Alexandre Aubin
a00e8a02a5 Bit cooler message at the end of the migration 2018-05-09 02:41:56 +02:00
Alexandre Aubin
4f9901c861 Use lsb_release instead of platform to check debian version during migration 2018-05-09 01:32:26 +02:00
Alexandre Aubin
e8f97e7b3e Also patch jessie-updates in sources.list 2018-05-09 00:25:11 +02:00
Laurent Peuch
a9b931b622 [fix] missing import 2018-05-05 12:25:36 +02:00
Laurent Peuch
9d5b918929 [mod] remove useless import 2018-05-05 12:25:19 +02:00
Alexandre Aubin
cc4a2f2f2e Also patch php5 app when calling remove 2018-05-02 18:07:31 +02:00
Alexandre Aubin
922821418e Draft of DB migration from Postgresql 9.4 to 9.6 2018-05-02 18:07:30 +02:00
Alexandre Aubin
e36c7daa99 Apply the dirty php5/php7 patch to scripts/conf when restoring an app 2018-05-02 18:07:30 +02:00
Alexandre Aubin
696ab8a989 Stop dis php5 fpm old guy 2018-05-02 18:07:30 +02:00
Alexandre Aubin
1f5ff188f7 Also patch nginx conf for the php5/7 migration 2018-05-02 18:07:30 +02:00
Alexandre Aubin
e0ac622ffc Skip all migrations during postinstall 2018-05-02 18:07:30 +02:00
Alexandre Aubin
fbc18c56aa Typo for php-fpm service 2018-05-02 18:07:30 +02:00
Alexandre Aubin
d597f31e13 Forgot to fix the php service name in the migration... 2018-05-02 18:07:30 +02:00
Alexandre Aubin
4baa01143e Move php5/7 migration as number 4 2018-05-02 18:07:30 +02:00
Alexandre Aubin
8fe57fbbc5 Add a migration for php5-fpm pools to php7 2018-05-02 18:07:30 +02:00
Alexandre Aubin
30ad9a9547 Nscd version fixed at deb repo level, so this isn't needed anymore 2018-05-02 18:07:30 +02:00
Alexandre Aubin
16166917cb Also patch the php socket path 2018-05-02 18:07:30 +02:00
Alexandre Aubin
fb01deb990 Don't try to patch folders 2018-05-02 18:07:30 +02:00
Alexandre Aubin
7cf64bb1c7 Also apply the php5/php7 patch for 'hidden' files (e.g. .functions) 2018-05-02 18:07:30 +02:00
Alexandre Aubin
1eb5c6131a Apply the php5 path also for upgrades 2018-05-02 18:07:30 +02:00
Alexandre Aubin
1054633310 Add dirty trick to be able to install php5 apps 2018-05-02 18:04:15 +02:00
Alexandre Aubin
7d36869fe0 Updating acme-tiny to 7ef9164, include fixes for OpenSSL 1.1 2018-05-02 18:04:15 +02:00
Alexandre Aubin
34451babe3 Fall back to 1024 for the DKIM key size because nsupdate is stupid 2018-05-02 18:04:15 +02:00
Alexandre Aubin
862f8e9697 Handle new DKIM record format 2018-05-02 18:04:15 +02:00
Alexandre Aubin
c763aae453 Removing 'hostname -d' output from stdout during postinstall 2018-05-02 18:04:15 +02:00
Alexandre Aubin
1839fa44d0 Also remove useless nscd warning in user.py 2018-05-02 18:04:15 +02:00
Alexandre Aubin
0373da4a46 Hiding useless message (?) 2018-05-02 18:04:15 +02:00
Alexandre Aubin
078dbaf2d3 Fully execute the regen conf as root 2018-05-02 18:04:15 +02:00
Alexandre Aubin
59c8c0d100 We also need to regen nsswitch before ldapinit otherwise sudo doesnt work 2018-05-02 18:04:15 +02:00