Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Script to stop Apache server on Android (Termux)
# This script is part of the video,
# Cómo instalar Apache Web Server en Android: and
# it's intended to be used on Termux Android 32 bits in order to fix the issue,
# Before executing this script you must install termux-chroot see de video,
# Cómo hacer chroot en Termux:
#!/usr/bin/env bash
aps=$(pidof httpd)
[[ -f $pidf ]] && rm -f $pidf
[[ "$aps" != "" ]] && kill -9 $aps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment