mirror of
https://github.com/ShaYmez/allmon2-last-heard.git
synced 2024-11-26 17:58:46 -05:00
Update URLs, readme
This commit is contained in:
parent
d5ab87a69a
commit
64e9c61974
13
README.md
13
README.md
@ -6,3 +6,16 @@ Shows which Ham Radio nodes are keyed up at one time.
|
||||
|
||||
Just plop in a directory that has a PHP web server pointing at it!
|
||||
|
||||
## Installation
|
||||
|
||||
* Edit streamServer.php and add your hubs to $hubs (line 20, separated by comma)
|
||||
* Change user= and group= in stream-server.service to fit your environment
|
||||
* Copy stream-server.service to /etc/systemd/system
|
||||
* Make sure /srv/http/allmon2/astdb.txt exists or is a symlink to a working astdb.txt
|
||||
* Make sure hideNodeURL=no in allmon.ini.php for the node stanza that's being monitored
|
||||
|
||||
```
|
||||
./composer.phar install
|
||||
systemctl enable stream-server
|
||||
systemctl start stream-server
|
||||
```
|
||||
|
BIN
composer.phar
Executable file
BIN
composer.phar
Executable file
Binary file not shown.
@ -17,13 +17,9 @@ class Stream
|
||||
* @var array
|
||||
*/
|
||||
protected $hubs = [
|
||||
1200,
|
||||
1300,
|
||||
2560,
|
||||
2353,
|
||||
// Offline 07-31-2020
|
||||
// 27084,
|
||||
2545,
|
||||
// !!!!!!!!!!!!!!!!!!!!
|
||||
// IMPORTANT!!! PUT THE NODE #s YOU WANT TO MONITOR HERE!!!!
|
||||
// !!!!!!!!!!!!!!!!!!!!
|
||||
];
|
||||
|
||||
/**
|
||||
@ -84,7 +80,7 @@ class Stream
|
||||
public function getAllMonUri()
|
||||
{
|
||||
$hubsStr = implode(",", $this->hubs);
|
||||
return "http://localhost/server.php?nodes=" . $hubsStr;
|
||||
return "http://localhost/allmon2/server.php?nodes=" . $hubsStr;
|
||||
// Use this return if you want all nodes
|
||||
// return "http://localhost/server.php";
|
||||
// return __DIR__ . '/test.stream';
|
||||
|
Loading…
Reference in New Issue
Block a user