浏览代码

Fixed bug in systemd script

TC 3 年之前
父节点
当前提交
a33a00715b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      documents/headless setup files/install_latest_hkwtc.sh

+ 1 - 1
documents/headless setup files/install_latest_hkwtc.sh

@@ -55,7 +55,7 @@ echo "Setting up system services"
 sudo systemctl enable systemd-networkd.service systemd-networkd-wait-online.service
 cd /etc/systemd/system/
 
-printf "[Unit]\nDescription=ArozOS Cloud Service\nAfter=systemd-networkd-wait-online.service\nWants=systemd-networkd-wait-online.service\n\n[Service]\nType=simple\nExecStartPre=/bin/sleep 10\nWorkingDirectory=/home/pi/arozos/src/\nExecStart=/bin/bash /home/pi/arozos/src/start.sh\n\nRestart=always\nRestartSec=10\n\n[Install]\nWantedBy=multi-user.target" | sudo tee -a ./arozos.service
+printf "[Unit]\nDescription=ArozOS Cloud Service\nAfter=systemd-networkd-wait-online.service\nWants=systemd-networkd-wait-online.service\n\n[Service]\nType=simple\nExecStartPre=/bin/sleep 10\nWorkingDirectory=/home/pi/arozos/\nExecStart=/bin/bash /home/pi/arozos/start.sh\n\nRestart=always\nRestartSec=10\n\n[Install]\nWantedBy=multi-user.target" | sudo tee -a ./arozos.service
 
 echo "Registering systemctl service"
 sudo systemctl start arozos.service