系统自启动
echo "/bin/sh /root/crawl_script/dianping.sh" >> /etc/rc.local
sslocal 随系统启动
vim /etc/systemd/system/shadowsocks.service
[Unit]
Description=Shadowsocks Client Service
After=network.target
[Service]
Type=simple
User=root
ExecStart=/usr/bin/sslocal -c /home/xx/Software/ShadowsocksConfig/shadowsocks.json
[Install]
WantedBy=multi-user.target
systemctl enable /etc/systemd/system/shadowsocks.service
重启系统