2024-04-23 23:52:34 +00:00
|
|
|
#include <stdlib.h>
|
2024-04-24 02:01:26 +00:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <unistd.h>
|
2024-04-23 23:52:34 +00:00
|
|
|
#include "runtime-config.h"
|
2024-04-24 00:55:06 +00:00
|
|
|
#include "notify.h"
|
2024-04-24 02:01:26 +00:00
|
|
|
#include "check-users.h"
|
2024-04-23 23:52:34 +00:00
|
|
|
int main() {
|
2024-04-24 00:55:06 +00:00
|
|
|
notify_init_early();
|
|
|
|
notify_init();
|
2024-04-24 02:01:26 +00:00
|
|
|
check_users_init();
|
|
|
|
while(true) {
|
|
|
|
check_users();
|
|
|
|
sleep(30);
|
|
|
|
}
|
2024-04-23 23:52:34 +00:00
|
|
|
}
|