Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开机自启 #75

Open
SimZhou opened this issue Jul 14, 2022 · 2 comments
Open

开机自启 #75

SimZhou opened this issue Jul 14, 2022 · 2 comments

Comments

@SimZhou
Copy link

SimZhou commented Jul 14, 2022

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

@SimZhou
Copy link
Author

SimZhou commented Jul 14, 2022

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

SimZhou commented Jul 14, 2022

或者.bash_login?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant