Files
ntfi/bin/ntfid
Christopher Vagnetoft b1690a10d2 Initial commit
2026-01-17 17:08:45 +01:00

17 lines
341 B
PHP
Executable File

#!/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();