Commit Graph

7 Commits

Author SHA1 Message Date
jason d90eea9806 🐛 Fix __create_service_env to write .local.sh to disk 🐛
The .local.sh block defined stub functions in memory but never
wrote the file to disk, so __file_exists_with_content always
failed and __create_service_env returned non-zero on every run.
Fix: use a heredoc to write the stub functions into .local.sh.
- rootfs/usr/local/etc/docker/init.d/99-proftpd.sh: write .local.sh
via heredoc in __create_service_env; bump version to 202606261600-git

rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
2026-06-26 21:06:54 -04:00
jason e0421d43d9 🐛 Remove stale local function definitions from init.d script 🐛
proftpd / release-proftpd (push) Failing after 11m21s
__cd, __pcheck, __pgrep, and __proc_check were locally defined in
init.d scripts before they were added to the shared docker-entrypoint
functions library. These local copies shadow the improved library
versions and prevent library updates from taking effect.
- rootfs/usr/local/etc/docker/init.d/99-proftpd.sh: remove stale local __cd/__pcheck/__pgrep/__proc_check definitions; defer to shared library

rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
2026-06-26 18:47:23 -04:00
jason 639694b25a ♻️ Migrate proftpd to /config/ source-of-truth architecture ♻️
Migrate proftpd Docker image to the new build-time config architecture.
- rootfs/root/docker/setup/03-files.sh: rewrite to canonical form with /tmp/bin, /tmp/var, /tmp/etc, /tmp/usr handlers
- rootfs/usr/local/etc/docker/functions/entrypoint.sh: update to latest template
- rootfs/usr/local/etc/docker/init.d/*.sh: fix $(basename) UUOC; move inline comments above code lines
- rootfs/tmp/etc/: add service config files (proftpd ) deployed to /etc/ at build time
- rootfs/usr/local/share/template-files/: delete; config now deployed via /tmp/etc/ and /tmp/usr/ at build time

rootfs/root/docker/setup/03-files.sh
rootfs/tmp/
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
rootfs/usr/local/share/template-files/config/env/default.sample
rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh
rootfs/usr/local/share/template-files/config/env/examples/addresses.sh
rootfs/usr/local/share/template-files/config/env/examples/certbot.sh
rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh
rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh
rootfs/usr/local/share/template-files/config/env/examples/global.sh
rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh
rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh
rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh
rootfs/usr/local/share/template-files/config/env/examples/networking.sh
rootfs/usr/local/share/template-files/config/env/examples/other.sh
rootfs/usr/local/share/template-files/config/env/examples/php.sh
rootfs/usr/local/share/template-files/config/env/examples/postgres.sh
rootfs/usr/local/share/template-files/config/env/examples/redis.sh
rootfs/usr/local/share/template-files/config/env/examples/services.sh
rootfs/usr/local/share/template-files/config/env/examples/ssl.sh
rootfs/usr/local/share/template-files/config/env/examples/supabase.sh
rootfs/usr/local/share/template-files/config/env/examples/webservers.sh
rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
rootfs/usr/local/share/template-files/config/.gitkeep
rootfs/usr/local/share/template-files/config/proftpd/proftpd.conf
rootfs/usr/local/share/template-files/data/.gitkeep
rootfs/usr/local/share/template-files/defaults/.gitkeep
2026-06-04 14:39:34 -04:00
jason 16b8cd108b 🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/functions/entrypoint.sh
rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
2025-09-20 06:39:50 -04:00
jason e4fd26dcc8 🗃️ Committing everything that changed 🗃️
Dockerfile
.env.scripts
rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
rootfs/usr/local/share/template-files/config/env/default.sample
2025-02-03 15:20:09 -05:00
jason 39c549f3dc 🗃 Modified: rootfs/usr/local/etc/docker/init.d/99-proftpd.sh 🗃
Modified: rootfs/usr/local/etc/docker/init.d/99-proftpd.sh
2024-07-14 10:47:15 -04:00
jason 5c21b5d782 🗃️ Committing everything that changed 🗃️
bin/entrypoint-proftpd.sh
config/proftpd.conf
Dockerfile
.dockerignore
.env.scripts
.gitattributes
.gitignore
.gitkeep
LICENSE.md
README.md
rootfs/.gitkeep
rootfs/usr/local/bin/entrypoint.sh
rootfs/usr/local/bin/.gitkeep
rootfs/usr/local/bin/pkmgr
rootfs/usr/local/bin/start-proftpd.sh
rootfs/usr/local/etc/
rootfs/usr/local/share/template-files/config/env/
rootfs/usr/local/share/template-files/config/proftpd/
2024-06-26 10:35:57 -04:00