Skip to content

Instantly share code, notes, and snippets.

@lucmann
Created August 15, 2025 15:03
Show Gist options
  • Select an option

  • Save lucmann/8c9ec2a7dc3a3777185a7a701c570878 to your computer and use it in GitHub Desktop.

Select an option

Save lucmann/8c9ec2a7dc3a3777185a7a701c570878 to your computer and use it in GitHub Desktop.
/lib/systemd/system/clash-proxy.service: systemctl enable clash-proxy
[Unit]
Description=Clash Proxy Autostart
After=network.target network-online.target
[Service]
Type=simple
WorkingDirectory=/home/luc/a/clash-for-linux
User=root
ExecStart=/home/luc/a/clash-for-linux/bin/clash-linux-amd64 -d conf
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=multi-user.target
@lucmann
Copy link
Author

lucmann commented Aug 15, 2025

clash-for-linux/conf/config.yaml (download from https://www.fenghost.net/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment