darwin: clash-meta-client: keepalive
This commit is contained in:
parent
26b5a42b61
commit
726be953eb
1 changed files with 4 additions and 1 deletions
|
@ -20,7 +20,10 @@ in {
|
||||||
# launchd service
|
# launchd service
|
||||||
launchd.daemons."clash-meta" = {
|
launchd.daemons."clash-meta" = {
|
||||||
command = "${lib.getExe pkgs.clash-meta} -d /etc/clash-meta";
|
command = "${lib.getExe pkgs.clash-meta} -d /etc/clash-meta";
|
||||||
serviceConfig.RunAtLoad = true;
|
serviceConfig = {
|
||||||
|
RunAtLoad = true;
|
||||||
|
KeepAlive.NetworkState = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Web interface
|
# Web interface
|
||||||
|
|
Loading…
Reference in a new issue