[关闭]
@Scrazy 2016-02-15T08:27:27.000000Z 字数 414 阅读 861

debian设置软件开机自启

Debian


今天把shadowsocks重新装了装,以前都是装的qt版,这次没有图形界面了。顺便把她设为开机自启,记录一下。
mouse@debian ~> sudo vi /etc/rc.local

  1. #!/bin/sh -e
  2. #
  3. # rc.local
  4. #
  5. # This script is executed at the end of each multiuser runlevel.
  6. # Make sure that the script will "exit 0" on success or any other
  7. # value on error.
  8. #
  9. # In order to enable or disable this script just change the execution
  10. # bits.
  11. #
  12. # By default this script does nothing.
  13. /usr/local/bin/sslocal -c /etc/shadowsocks/config.json #在这里添加此行即可
  14. exit 0
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注