Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New, POSIX Rewrite in New Repo (supports various Linuxes, macOS, and some BSDs) #8

Open
coolaj86 opened this issue Dec 7, 2024 · 0 comments

Comments

@coolaj86
Copy link
Contributor

coolaj86 commented Dec 7, 2024

Moving to https://github.com/bnnanet/serviceman-sh
(as we'll ship it as part of our default images for the BNNA project)

After several years of use across hundreds of systems, I've decided to rewrite this in POSIX command language:

  • easier to use sudo without losing current ENVs (notably $PATH, $HOME, id -u -n)
  • fewer flags and options required
  • quicker to hack together simple features and fixes (ex: aliasing other shell commands)
  • can release via git tags without build step
  • much smaller size
  • almost as portable as Go
  • but NOT for Windows (I may rewrite that in PowerShell... someday)

Changes to v1.0.0

  • openrc support for Alpine, Arch, Gentoo, etc
  • Update systemd support
  • old --user functionality moved to --on-login (tentative name)
  • new --user functionality replaces --username

I'll put the new location in the README once I have the v1.0.0 release. I'll also need to update many cheat sheets.

The README here has been updated, as well as all of the cheat sheets and scripts on Webi.

@coolaj86 coolaj86 pinned this issue Dec 12, 2024
@coolaj86 coolaj86 changed the title Linuxes and macOS (and BSD?) in new repo, rewritten as POSIX scripts New, POSIX Rewrite in New Repo (supports various Linuxes, macOS, and some BSDs) Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant