Skip to content

Don't leave launch shell waiting for CKAN to close#4517

Merged
HebaruSan merged 1 commit into
KSP-CKAN:masterfrom
nuew:patch-1
Feb 18, 2026
Merged

Don't leave launch shell waiting for CKAN to close#4517
HebaruSan merged 1 commit into
KSP-CKAN:masterfrom
nuew:patch-1

Conversation

@nuew
Copy link
Copy Markdown
Contributor

@nuew nuew commented Feb 18, 2026

This is a pretty trivial change to the Debian launch script. The /usr/bin/ckan script currently keeps the shell open until CKAN is actually closed. exec is a shell builtin that tells the shell to replace itself with the called program, preventing this. It's standardized in POSIX, and implemented by both dash and bash, so there shouldn't be any compatibility concerns.

While this won't save much memory or performance, it's such a trivial change with no downside that I can't see a reason not to do it.

@HebaruSan HebaruSan added Enhancement New features or functionality Easy This is easy to fix Linux Issues specific for Linux Package: deb Issues affecting the Debian packaging Package: rpm Issues affecting RPM packaging Performance Something's slower than it should be labels Feb 18, 2026
Copy link
Copy Markdown
Member

@HebaruSan HebaruSan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I agree this is a "might as well" change. 🐧

@HebaruSan HebaruSan merged commit 4af6e46 into KSP-CKAN:master Feb 18, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Easy This is easy to fix Enhancement New features or functionality Linux Issues specific for Linux Package: deb Issues affecting the Debian packaging Package: rpm Issues affecting RPM packaging Performance Something's slower than it should be

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants