TyrantLucifer/ssr-command-client

开机自启

SimZhou opened this issue · 2 comments

问个问题,
开机自启,是不是只需要把 shadowsocksr-cli -s 1 添加到/etc/rc.local里就行了?

或者使用这个方案?https://askubuntu.com/a/816/1410764

One approach is to add an @reboot cron task:

Running crontab -e will allow you to edit your cron.
Adding a line like this to it:

@reboot /path/to/script
will execute that script once your computer boots up.

或者.bash_login?