Improve failover controls and preserve manual switching state
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env node
|
||||
if (process.argv[2] === 'check') process.exit(0);
|
||||
if (process.argv[2] === 'version') {
|
||||
console.log('sing-box version 1.12.13');
|
||||
process.exit(0);
|
||||
}
|
||||
process.on('SIGTERM', () => process.exit(0));
|
||||
setInterval(() => {}, 60_000);
|
||||
Reference in New Issue
Block a user