mirror of
https://github.com/juewuy/ShellCrash.git
synced 2024-11-16 19:55:57 +08:00
29b94a19d7
~配置文件覆写代码优化 ~在线配置生成后端部分地址替换 ~新手引导增加自动配置ipv6路由 ~屏蔽QUIC功能增加ipv6支持 ~修复others.yaml不会被正确读取的bug ~修复局域网过滤功能不会提示重启的bug
17 lines
296 B
Desktop File
17 lines
296 B
Desktop File
[Unit]
|
|
Description=clash
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
ExecStart=/etc/clash/clash -d /etc/clash -f /tmp/clash_$USER/config.yaml >/dev/null
|
|
ExecStartPost=/etc/clash/start.sh afstart
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
LimitNOFILE=999999
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|