Implement pid file & checks

This commit is contained in:
Mononaut
2023-08-28 19:20:58 +09:00
parent 63a4810b11
commit 7dad00523f
7 changed files with 52 additions and 2 deletions

View File

@@ -93,6 +93,7 @@ interface IConfig {
USERNAME: string;
PASSWORD: string;
TIMEOUT: number;
PID_DIR: string;
};
SYSLOG: {
ENABLED: boolean;
@@ -219,6 +220,7 @@ const defaults: IConfig = {
'USERNAME': 'mempool',
'PASSWORD': 'mempool',
'TIMEOUT': 180000,
'PID_DIR': '',
},
'SYSLOG': {
'ENABLED': true,