sitoi / systemdclash Goto Github PK
View Code? Open in Web Editor NEWClash 以 systemd 服务的方式开机自启
Home Page: https://sitoi.github.io/SystemdClash
Clash 以 systemd 服务的方式开机自启
Home Page: https://sitoi.github.io/SystemdClash
移除
SystemdClash/[email protected]
Line 7 in 191063c
[email protected]
重命名为 clash.service
,放置位置由 /lib/systemd/system/[email protected]
改为 /lib/systemd/user/clash.service
,这样使用时只需对应用户执行 systemctl start --user clash
和 systemctl enable --user clash
即可(也可合并为 systemctl enable --now --user clash
)。loginctl enable-linger
以启用 linger)按照您的方式已经成功运行,想用命令重启服务。
试着输入systemcti restart clash@用户名
和systemcti stop clash@用户名
都报错。
请您指点一下。谢谢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.