基于init的SS启动脚本

Published by

贰壹

忙忙碌碌仍在路上的人,热爱IT,挚爱16。

2 thoughts on “基于init的SS启动脚本”

  1. 请问,SSR后端怎么开启开机启动?
    我的程序是安装在/root/shadowsocks/。 多用户的。
    我尝试在vi /etc/rc.local 不要里添加
    ./root/shadowsocks/logrun.sh 但是没用,重启VPS后,前端面板
    sspanel还是节点还是显示离线。要手动在SSH里启动./log.run.sh才可以连接到。
    [root@host ~]# vi /etc/rc.local

    #!/bin/bash
    touch /var/lock/subsys/local
    /usr/bin/setterm -blank 0 || true
    ./root/shadowsocks/logrun.sh

    请问,应该怎么设置呢?

    1. @云龙
      你好,是这样,你可以试试把rc.local里面的那句改成

Leave a Reply

Your email address will not be published.

Captcha Code

This site uses Akismet to reduce spam. Learn how your comment data is processed.