release
This commit is contained in:
7
stop.sh
Normal file
7
stop.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
if command -v systemctl >/dev/null 2>&1 && systemctl list-unit-files | grep -q '^shd-alice.service'; then
|
||||
systemctl stop shd-alice.service || sudo systemctl stop shd-alice.service || true
|
||||
else
|
||||
pkill -f '/home/shd/scripts/alice/yastation.py' || true
|
||||
fi
|
||||
Reference in New Issue
Block a user