This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
amue-authentic2/reload.sh

7 lines
142 B
Bash
Executable File

#!/bin/sh
PID="`sudo supervisorctl status | grep RUNNING | awk '{ print $4 }' | sed 's/,//'`"
if [ "x$PID" != "x" ]; then
kill -HUP $PID
fi