mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-09-13 14:09:45 +00:00
blocknotify: remove hardcoded path in sample config
do not force to use a non standard binary path, add it to /usr/local/bin or <yiimp>/bin if set in your server $PATH env var. the "make install" output is in <yiimp>/bin
This commit is contained in:
parent
a8a5a8280f
commit
f99bc33a28
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ Look at rc.local, it starts all three backend shells and all stratum processes.
|
||||||
|
|
||||||
All your coin's config files need to blocknotify their corresponding stratum using something like:
|
All your coin's config files need to blocknotify their corresponding stratum using something like:
|
||||||
|
|
||||||
blocknotify=/var/stratum/blocknotify yaamp.com:port coinid %s
|
blocknotify=blocknotify yaamp.com:port coinid %s
|
||||||
|
|
||||||
On the website, go to http://server.com/site/adminRights to login as admin. You have to change it to something different in the code (web/yaamp/modules/site/SiteController.php). A real admin login may be added later, but you can setup a password authentification with your web server, sample for lighttpd:
|
On the website, go to http://server.com/site/adminRights to login as admin. You have to change it to something different in the code (web/yaamp/modules/site/SiteController.php). A real admin login may be added later, but you can setup a password authentification with your web server, sample for lighttpd:
|
||||||
|
|
||||||
|
|
|
@ -239,7 +239,7 @@ if ($coin->id) {
|
||||||
echo "gen=0\n";
|
echo "gen=0\n";
|
||||||
echo "\n";
|
echo "\n";
|
||||||
echo "alertnotify=echo %s | mail -s \"{$coin->name} alert!\" ".YAAMP_ADMIN_EMAIL."\n";
|
echo "alertnotify=echo %s | mail -s \"{$coin->name} alert!\" ".YAAMP_ADMIN_EMAIL."\n";
|
||||||
echo "blocknotify=/var/stratum/blocknotify ".YAAMP_SITE_URL.":$port {$coin->id} %s\n";
|
echo "blocknotify=blocknotify ".YAAMP_SITE_URL.":$port {$coin->id} %s\n";
|
||||||
echo CHtml::closetag("pre");
|
echo CHtml::closetag("pre");
|
||||||
|
|
||||||
echo CHtml::tag("hr");
|
echo CHtml::tag("hr");
|
||||||
|
|
Loading…
Add table
Reference in a new issue