思绪的空中生活

debian 9 /etc/rc.local开机启动
说明:新开的Google cloud香港的机子,选的Debian 9,按照之前添加开机启动命令到/etc/rc.l...
扫描右侧二维码阅读全文
28
2018/10

debian 9 /etc/rc.local开机启动

说明:新开的Google cloud香港的机子,选的Debian 9,按照之前添加开机启动命令到/etc/rc.local无效

添加一个 /etc/rc.local 文件

#!/bin/sh -e
# @file /etc/rc.local
sh /root/shadowsocks/run.sh
exit 0

赋予权限

chmod +x /etc/rc.local

启动 rc-local 服务

systemctl start rc-local

查看状态

service rc-local status

参考:https://sb.sb/blog/debian-9-rc-local/

相关文章:

  • 中兴f460开启telnet
  • Debian9 apt 404 not found 官方源
  • 宝塔面板安装frp
  • debian手动调整内核启动顺序
  • N1将armbian刷入emmc
  • Last modification:November 25th, 2019 at 12:07 am
    If you think my article is useful to you, please feel free to appreciate

    2 comments

    1. 陈攀

      我现在使用的是谷歌云台湾。

      1. 思绪的空中生活
        @陈攀

        挺好的啊,延迟低,速度也快

    Leave a Comment Cancel reply