Initial commit

This commit is contained in:
Christopher Vagnetoft
2026-01-17 17:08:45 +01:00
commit b1690a10d2
8 changed files with 1753 additions and 0 deletions

16
bin/ntfid Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env php
<?php
require_once __DIR__."/../vendor/autoload.php";
$opts = getopt("hc:",["help","config:"],$optind);
$configFile = isset($opts['c'])
? $opts['c']
: (isset($opts['config'])
? $opts['config']
: null);
$daemon = (new NoccyLabs\Ntfi\NtfiDaemon())
->setConfigFile($configFile)
->start();