Initial commit
This commit is contained in:
16
bin/ntfid
Executable file
16
bin/ntfid
Executable 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();
|
||||
Reference in New Issue
Block a user