TyrantLucifer / ssr-command-client

:airplane:The commend client of ssr based Python3
Apache License 2.0
978 stars 240 forks source link

开机自启 #75

Open SimZhou opened 2 years ago

SimZhou commented 2 years ago

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

SimZhou commented 2 years ago

或者使用这个方案?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.

SimZhou commented 2 years ago

或者.bash_login?