Przeglądaj źródła

Update dashy-install.sh

tteckster 3 lat temu
rodzic
commit
ea99be316d
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      setup/dashy-install.sh

+ 2 - 2
setup/dashy-install.sh

@@ -74,7 +74,7 @@ echo -e "${CM}${CL} \r"
 
 
 echo -en "${GN} Installing Dashy... "
 echo -en "${GN} Installing Dashy... "
 git clone https://github.com/Lissy93/dashy.git &>/dev/null
 git clone https://github.com/Lissy93/dashy.git &>/dev/null
-cd dashy/
+cd /dashy
 yarn
 yarn
 export NODE_OPTIONS=--max-old-space-size=1000 &>/dev/null
 export NODE_OPTIONS=--max-old-space-size=1000 &>/dev/null
 yarn build &>/dev/null
 yarn build &>/dev/null
@@ -87,7 +87,7 @@ Description=dashy
 
 
 [Service]
 [Service]
 Type=simple
 Type=simple
-WorkingDirectory=/root/dashy
+WorkingDirectory=/dashy
 ExecStart=/usr/bin/yarn start
 ExecStart=/usr/bin/yarn start
 [Install]
 [Install]
 WantedBy=multi-user.target
 WantedBy=multi-user.target