Commit graph

56 commits

Author SHA1 Message Date
Alexandre Aubin
d82f14a4f9 Typo T_T 2021-10-20 20:01:45 +02:00
Alexandre Aubin
146fba7d48 regenconf: yunohost hook was failing because grep may return exit code != 0 2021-10-20 19:43:06 +02:00
Alexandre Aubin
cb835a2d6b dyndns: Delete dyndns cron in regenconf if no dyndns domain found 2021-10-13 15:38:57 +02:00
Alexandre Aubin
55bacd7405 dyndns cron: validate that we're connected to the internet before triggering yunohost dyndns update 2021-10-13 15:37:39 +02:00
Alexandre Aubin
5a7a719661 Also lint/reformat core bash hooks 2021-10-06 16:35:45 +02:00
Alexandre Aubin
d64f2cdf1a regenconf: Missing mkdir for dpkgorigins 2021-09-23 21:28:28 +02:00
Alexandre Aubin
f7f6428bfb
Merge pull request #1337 from YunoHost/simplify-regenconf
Simplify regen conf scripts
2021-09-21 12:31:34 +02:00
Alexandre Aubin
bddd81f44b Simplify regen conf scripts 2021-09-21 00:05:19 +02:00
Alexandre Aubin
8c7080de5f Simplify debian/install 2021-09-20 23:25:54 +02:00
Alexandre Aubin
8f8b6eae7c domains: Make sure domain setting folder exists with appropriate perms 2021-09-19 18:02:45 +02:00
Alexandre Aubin
6031cc7846 Misc fixes for cert commands 2021-09-13 17:16:22 +02:00
Alexandre Aubin
035648d001
Merge pull request #1291 from YunoHost/simplify-service-yaml-management
Trash ugly hack that merge services.yml every regenconf
2021-08-27 17:20:49 +02:00
Alexandre Aubin
a29940d8f4 Trash ugly hack that merge services.yml every regenconf 2021-08-18 23:07:38 +02:00
Alexandre Aubin
bcb803c0c3 Add new setting to enable experimental security features 2021-08-18 22:10:25 +02:00
ljf
ccb6dc54b1 [fix] Avoid warning and use safeloader 2021-08-17 17:26:00 +02:00
Alexandre Aubin
eb4bc97c5a
Update data/hooks/conf_regen/01-yunohost 2021-08-08 19:14:07 +02:00
ljf (zamentur)
40df98e8f2
[fix] Avoid to suspend server if we close lidswitch 2021-07-17 20:13:42 +02:00
Alexandre Aubin
db3cc62bc7 Add ssh.app, sftp.app groups to cover my_webapp and borg needing ssh access 2021-04-24 17:26:03 +02:00
Alexandre Aubin
64c6d7aa64 Merge tag 'debian/4.2.1' into dev 2021-04-10 01:33:33 +02:00
Alexandre Aubin
fc26837aa7 security: Enforce permissions on /home/ so that they can't sneak in each other home 2021-04-10 01:07:36 +02:00
Alexandre Aubin
aefc100ab4 security: Enforce some permission for regular yunohost users 2021-04-10 01:07:34 +02:00
Alexandre Aubin
378cf904c8
Merge branch 'dev' into cron-legacy 2021-04-02 00:27:19 +02:00
Alexandre Aubin
37db93b49a Typo 2021-04-01 23:27:56 +02:00
Alexandre Aubin
87b0b10e0e Enforce permissions on /var/cache/yunohost 2021-03-24 20:28:42 +01:00
Alexandre Aubin
61feb39c96 Merge branch 'hotfixes-4.1.7.4' into dev 2021-03-11 03:10:54 +01:00
Alexandre Aubin
41b5a12393 Enforce permissions for /home/yunohost.backup and .conf 2021-03-11 03:07:16 +01:00
Alexandre Aubin
e639c8cd5a Move applist refresh cron + lets encrypt renewal cron to regen conf 2021-03-10 19:00:24 +01:00
Alexandre Aubin
7efc6dcd07 Handle the dyndns cron from the regenconf 2021-02-25 23:59:17 +01:00
Alexandre Aubin
f755259790 Initialize folders during .deb install instead of regen conf 2021-01-23 00:01:26 +01:00
Alexandre Aubin
a665c702d0 Annnd of course we have references to python2 in bash stuff and other misc scripts 2021-01-10 02:07:24 +01:00
Alexandre Aubin
ca20eda9ca [firewall] Let's not disable nftables that makes the script crash if it's not installed and we don't really need to disable it anyway since it's already configured to conflict 2020-07-27 19:26:18 +02:00
Alexandre Aubin
5914740957 [firewall] nftables is the new iptables-persistent and it should conflict with yunohost-firewall 2020-07-27 19:26:18 +02:00
Alexandre Aubin
9d0c092481 Disable/skip ntp when inside a container 2020-06-05 02:50:51 +02:00
Alexandre Aubin
5a3b382fc9 Flag old etckeeper.conf as 'should not exist' in regenconf 2020-05-26 00:11:16 +02:00
Alexandre Aubin
dc2214953d Bigger time window for auto diagnosis to avoid server overload 2020-05-25 00:22:28 +02:00
Kay0u
85f1802ec9
[fix] empty services.yml file 2020-05-22 21:05:19 +02:00
Alexandre Aubin
aecbb14aa4 Add a --human-readable option to diagnosis_show() and a --email to diagnosis_run() to email issues found by cron job 2020-05-09 01:46:28 +02:00
Alexandre Aubin
31e868e82d Enforce permissions for stuff in /etc/yunohost/ 2020-04-29 03:49:37 +02:00
Alexandre Aubin
97e5d3b992 Remove those random sudo which are useless yet triggers LDAP warning when LDAP is in bad state 2019-11-28 00:10:40 +01:00
Alexandre Aubin
a416044376 Add diagnosis cron job to be ran every 12 hours, managed from the regenconf 2019-11-22 14:58:11 +01:00
Alexandre Aubin
bb8b1b052d Using /var/log/daemon.log or /var/log/syslog is pointless, these files logs many different things. Instead, we shall always return the logs from journalctl 2019-11-17 16:39:12 +01:00
Alexandre Aubin
eb57a4ad9e Get rid of etckeeper 2019-09-19 19:51:27 +02:00
Laurent Peuch
d32ab073ba [mod] removes status key from /etc/yunohost/service.yml for generic approach 2018-05-11 04:21:24 +02:00
Alexandre Aubin
a1831ce0f8 Manage etckeeper.conf to make etckeeper quiet 2018-01-26 22:40:33 +01:00
Laurent Peuch
50188ae265 [fix] only remove a service if it is setted to null 2017-03-20 01:49:27 +01: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
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
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
8269788172 [fix] Typo and variable name fixes in conf_regen hooks 2016-04-16 14:41:54 +02:00