Skip to content

Alex72-py/termux-elite / skills/termux-services

termux-services

Verified

Choose how to keep a program running on Termux (tmux or nohup, Termux:Boot, or termux-services with runit) and set it up with supervision and logs. Use when a server must restart after a crash, start at boot or app launch, or survive closing the terminal. Do NOT use when the process is being killed by Android (see background-processes first) or for one-off foreground commands.

FileKindSize
SKILL.mdskill md3.9 KB
scripts/check-services.shexecutablescript1.0 KB

scripts/check-services.sh

View on GitHub
#!/usr/bin/env sh
# Read-only service and boot script state.
set -eu
have() { command -v "$1" >/dev/null 2>&1; }
printf '%s\n' "sv_command: $(have sv && printf present || printf absent)"
printf '%s\n' "tmux: $(have tmux && printf present || printf absent)"
printf '%s\n' "runsvdir_running: $(pgrep runsvdir >/dev/null 2>&1 && printf yes || printf no)"
svc="${PREFIX:-/nonexistent}/var/service"
if [ -d "$svc" ]; then
  printf '%s\n' "services:"
  for d in "$svc"/*; do
    [ -d "$d" ] || continue
    name=$(basename "$d")
    status=unknown
    if have sv; then status=$(sv status "$name" 2>/dev/null | head -n 1 || printf unknown); fi
    printf '  %s: %s\n' "$name" "$status"
  done
else
  printf '%s\n' "services: none (termux-services not installed or never started)"
fi
boot="$HOME/.termux/boot"
if [ -d "$boot" ]; then
  printf '%s\n' "boot_scripts:"
  for f in "$boot"/*; do
    [ -f "$f" ] || continue
    printf '  %s executable=%s\n' "$(basename "$f")" "$([ -x "$f" ] && printf yes || printf no)"
  done
else
  printf '%s\n' "boot_scripts: none"
fi
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall