mirror of
https://github.com/PeernetOfficial/Cmd.git
synced 2026-07-20 20:37:54 +01:00
Add parameter to watch process via PID for termination. Close #10
This commit is contained in:
12
README.md
12
README.md
@@ -211,3 +211,15 @@ Expert user may manually edit the network listen config settings. Beware that in
|
||||
* Static public IP assigned to your network adapter (usually only servers): Set the `Listen` to the fixed public IP:Port. `EnableUPnP` must be false and `PortForward` must be 0.
|
||||
* Dynamic public IP in home network but manual port forwarding on your router: Set `Listen` to your internal IP:Port from your network adapter that provides the connection to your router. Set `PortForward` to the external port. `EnableUPnP` must be false.
|
||||
* For any other case, don't touch the default config!
|
||||
|
||||
## Integration as Backend
|
||||
|
||||
This application can be used as backend for a Peernet client.
|
||||
|
||||
### Process Exit Monitor
|
||||
|
||||
Use the parameter `-watchpid=[PID]` to specify a process ID to monitor for exit to automatically exit the application.
|
||||
|
||||
```
|
||||
Cmd -watchpid=1234
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user