注意,ExecStart=/home/hqc/test.sh 这里一定不能用~/ 来代替/home/$USER. 3. 将systemd服务文件和我们的脚本更改权限,使其可执行。 sudo chmod 744 ~/test ...
確定! 回上一頁