DNS
use clash official DNS settings to resolve issues related to domain resolution, especially when used as a system proxy.
to persist program using platform-specific service manager like nssm on windows:
macos
use launchctl(launchd) or easyd
linux
create systemd
need to change system wide proxy settings in init files
or use monit, with control over the service itself.
or shell script alike linuxNSSM