Commit Graph
26 Commits
Author SHA1 Message Date
bachirandClaude Sonnet 5 2e3ec7883f Replace echo -e with printf for portable ANSI banners
dash (Debian's /bin/sh) doesn't support echo's -e flag: it prints "-e"
literally as text before processing the rest of the string's backslash
escapes. Every script's colored banner was affected. printf's escape
handling is POSIX-mandated and behaves identically under dash and bash,
so swap all 90 echo -e calls for printf, appending the trailing \n that
echo used to add implicitly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 09:35:02 +02:00
bachirandClaude Sonnet 5 7ff4df1173 Fix installer bugs: broken root checks, PHP version mismatches, dead paths
- Replace $EUID with $(id -u) for root checks across all bin/*.sh and
  install.sh: dash (Debian's /bin/sh) never sets $EUID, so the check was
  silently broken everywhere.
- lemp.sh: make apt-get upgrade non-interactive (--yes), align the Redis
  PHP module and php-fpm restart with $PHP_VERSION instead of a hardcoded
  8.1, and template the nginx PHP-FPM socket path via a PHP_FPM_SOCK
  placeholder substituted at install time.
- nginx-phpmyadmin.conf: fix docroot to match the actual phpMyAdmin
  symlink location created by lemp.sh.
- mysql-db.sh: inline the root check instead of sourcing the
  nonexistent bin/checkroot.sh.
- webhook.sh: fix chowm typo (chown).
- urbackup.sh: copy the systemd unit from assets/ instead of a relative
  path to a file that doesn't exist in the repo.
- _addUserSite.sh: fix invalid `$var=value` assignment and an empty
  if-block that was a POSIX sh syntax error.

Also carries over pending fixes to deploy-drupal.sh (drush now
invoked via vendor/bin/drush) and gitbarrerepos.sh (comment cleanup).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-04 09:28:08 +02:00
bachir 207a05f75b some updates 2025-03-13 21:43:02 +01:00
bachir f6cfa57db6 somme options on zabbix-agent install 2023-11-26 18:09:20 +01:00
bachir 62c03fc009 somme options on zabbix-agent install 2023-11-26 17:57:29 +01:00
bachir a8ea6b53bc zabbix bug fix 2023-10-17 21:46:38 +02:00
bachir 300402a38f updated zabbix 2023-10-17 21:42:08 +02:00
bachir 783afc1a3b exim4 fix, zabbix update 2020-01-13 16:59:27 +01:00
bachir faabe5d622 reverted for bash shell 2019-10-21 16:11:31 +02:00
bachir 9225ca2f4b reverted for bash shell 2019-10-21 16:10:05 +02:00
bachir 67b84ed088 some updates for buster 2019-10-21 16:00:06 +02:00
bachir 3eb1a34c19 zabbix disabling rsync & timesyncd systemd units 2019-01-23 13:14:18 +01:00
bachir 1df4d6a72f added zabbix systemd units template 2019-01-22 12:42:54 +01:00
bachir db2fcd1f6d updated urbackup client, added systemd monitoring 2019-01-21 16:14:09 +01:00
bachir 10f038f0dc fixed zabbix nginx status install 2018-10-29 16:38:01 +01:00
bachir b9d8d77d3a misc 2018-10-29 15:20:43 +01:00
bachir 43d32c7d86 zabbix-agent install bug fix 2018-04-16 16:43:26 +02:00
bachir 0d8fa7f928 zabbix-agent install bug fix 2018-04-16 16:40:51 +02:00
bachir 9b547bb892 zabbix-agent install bug fix 2018-04-16 16:39:32 +02:00
bachir e60dd9a202 added proxmox-ct.conf zabbix agent conf 2018-04-16 16:36:43 +02:00
bachir a278a28042 fixed zabbix install 2018-04-16 16:31:10 +02:00
Bachir Soussi Chiadmi 735faaac3d added zabbix-agent install 2018-04-10 21:16:15 +02:00
Bachir Soussi Chiadmi a7fa31962e zabbix fix 2018-04-08 00:30:51 +02:00
Bachir Soussi Chiadmi 75e9dfb382 zabbix repo download to tmp 2018-04-08 00:29:38 +02:00
Bachir Soussi Chiadmi 3bdf7743be chmod +x zabbix 2018-04-08 00:24:29 +02:00
Bachir Soussi Chiadmi 30f38a09a1 added zabbix agent install, some fix 2018-04-08 00:22:44 +02:00