Skip to content

Commit

Permalink
hold off on this change until testing on other distros
Browse files Browse the repository at this point in the history
  • Loading branch information
crschardt committed Dec 24, 2023
1 parent 0cfee84 commit ac34c19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ echo "Downloaded latest stable release of PhotonVision."
echo "Creating the PhotonVision systemd service..."

# service --status-all doesn't list photonvision on OrangePi use systemctl instead:
#if service --status-all | grep -Fq 'photonvision'; then
if systemctl --quiet is-active photonvision; then
#if systemctl --quiet is-active photonvision; then
if service --status-all | grep -Fq 'photonvision'; then
echo "PhotonVision is already running. Stopping service."
systemctl stop photonvision
systemctl disable photonvision
Expand Down

0 comments on commit ac34c19

Please sign in to comment.