This repository has been archived on 2026-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
anvillm/services/runit/finish

13 lines
273 B
Bash
Executable File

#!/bin/sh
# runit finish script for anvillm
# Called when the service stops
echo "anvillm stopped"
# Remove PID file if it exists
rm -f /tmp/anvillm.pid
# Optional: clean up stale sockets
# export NAMESPACE="${NAMESPACE:-/tmp/ns.$(whoami)}"
# rm -f "${NAMESPACE}/agent"