view backup/stop.sh @ 2133:c3b4c19f2d8a

attempt to autodetect and use nginx confs dir
author Violet7
date Fri, 16 Jan 2026 17:29:05 -0800
parents ee75b5c12272
children
line wrap: on
line source

#!/bin/bash

LUAN_PIDS=$(ps ax | awk '{if($0~"backup_[s]erver.luan"){print $1}}');
kill -TERM $LUAN_PIDS;
exit 0;