Recount Dashboard
This commit is contained in:
commit
fe220504fd
21 files changed
+11350
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Remove Jetson edge counter systemd services.
|
||||
# Run on the Jetson: sudo ./uninstall-services.sh
|
||||
set -euo pipefail
|
||||
|
||||
if [[ "$(id -u)" -ne 0 ]]; then
|
||||
echo "Run as root: sudo ./uninstall-services.sh"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for unit in jetson-counter jetson-counter-dashboard; do
|
||||
systemctl stop "${unit}" 2>/dev/null || true
|
||||
systemctl disable "${unit}" 2>/dev/null || true
|
||||
rm -f "/etc/systemd/system/${unit}.service"
|
||||
done
|
||||
|
||||
systemctl daemon-reload
|
||||
echo "Removed jetson-counter and jetson-counter-dashboard services."
|
||||
Reference in new issue
Block a user