From 6d8faa7f75d9c84352a6b168e6403d5a52aac9a4 Mon Sep 17 00:00:00 2001 From: avollkopf <43980694+avollkopf@users.noreply.github.com> Date: Wed, 18 Oct 2023 20:33:21 +0200 Subject: [PATCH] fix --- cbpi/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cbpi/cli.py b/cbpi/cli.py index a885bf6..3618f86 100644 --- a/cbpi/cli.py +++ b/cbpi/cli.py @@ -151,9 +151,9 @@ class CraftBeerPiCli(): print("CraftBeerPi Autostart is {}OFF{}".format(Fore.RED,Style.RESET_ALL)) elif(name == "on"): user=os.getlogin() - path="/usr/local/bin/cbpi start" + path="/usr/local/bin/cbpi" if os.path.exists("/home/"+user+"/.local/bin/cbpi") is True: - path="/home/"+user+"/.local/bin/cbpi start" + path="/home/"+user+"/.local/bin/cbpi" print("Add craftbeerpi.service to systemd") try: if os.path.exists(os.path.join("/etc/systemd/system","craftbeerpi.service")) is False: