view backup/stop.sh @ 2162:2a68bc8e1529 nginx_sites_addon tip

nginx_sites error handling
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 30 Jan 2026 19:59:58 -0700
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;