Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12
Return to list New
Author: Vlad

h3control [1.21.461] - http based H3's temperature & frequency control

[Copy link]

4

Threads

21

Posts

449

Credits

Intermediate member

Rank: 3Rank: 3

Credits
449
 Author| Post time 2016-4-22 19:18:31 | Show all posts
Edited by Vlad at 2016-4-22 19:36
dony71 replied at 2016-4-22 07:33
i have used port 5000
any way to use other port?
nb : never mind .... already find the answer

Thanks, dony71. Your really smarty

Here is a example how to assign another port for h3control daemon:

Add --binding=*:54321 parameter to this line in /etc/init.d/h3control
  1. mono $deploydir/bin/H3Control.exe &
Copy the Code

Line may look like:
  1. mono $deploydir/bin/H3Control.exe --binding=*:54321 &
Copy the Code

54321 is a desired port number

Please dont corrupt full path to H3Control.exe in your system.



1

Threads

9

Posts

105

Credits

Registered member

Rank: 2

Credits
105
Post time 2017-1-6 09:30:25 | Show all posts
I notice no pid file under /run
How to make daemon generate pid file?

4

Threads

21

Posts

449

Credits

Intermediate member

Rank: 3Rank: 3

Credits
449
 Author| Post time 2017-6-10 10:06:21 | Show all posts
dony71 replied at 2017-1-6 09:30
I notice no pid file under /run
How to make daemon generate pid file?

you right. no pid file yet.
1. it means during shutdown of the OS all the .NET deamons are recieving termimate signal.
2. you cant control shutdown of multiple h3controls. its not a problem, because of there are no sence to run multiple h3control daemons.

Sorry for late answer. please ask new questions using github issues feature. https://github.com/devizer/h3control-bin/issues

4

Threads

21

Posts

449

Credits

Intermediate member

Rank: 3Rank: 3

Credits
449
 Author| Post time 2017-12-30 15:34:29 | Show all posts
dony71 replied at 2017-1-6 09:30
I notice no pid file under /run
How to make daemon generate pid file?

Hi, dony71

--pid-file=/var/run/h3control.pid option added. /var/run/h3control.pid is a default pid file location
as well as default daemon installer uses SystemD as default daemon manangemt
12
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-24 13:24 GMT+8 , Processed in 0.025842 second(s), 20 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list