music-downloader/start/start.sh

14 lines
239 B
Bash
Raw Normal View History

2023-08-02 14:49:56 +00:00
#!/bin/bash
#修改dns
echo "nameserver 114.114.114.114" > /etc/resolv.conf
wait
2023-08-02 14:49:56 +00:00
# 拉取代码
git clone http://${REMOTE_ADDR}/amuliang/music-downloader.git /music-downloader
wait
# 运行服务
/start/server.sh &
/start/html.sh &
wait