Difference between revisions of "Daemon"
Jump to navigation
Jump to search
(cleaned the article) |
Super-Nathan (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
daemon = true | daemon = true | ||
− | In this mode, PyBitmessage doesn't require Qt. You will then need the [[API]]. If you do not yet have a keys.dat file because you have not yet run Bitmessage, run it. It will create the keys.dat file for you then exit if it cannot find PyQt. | + | In this mode, PyBitmessage doesn't require Qt. You will then need the [[API]]. If you do not yet have a [[keys.dat]] file because you have not yet run Bitmessage, run it. It will create the keys.dat file for you then exit if it cannot find PyQt. |
== Control == | == Control == | ||
− | The client can only be controlled via the API, so it is important to set the API values too in the | + | The client can only be controlled via the API, so it is important to set the API values too in the keys.dat file. |
== Example == | == Example == | ||
Example Daemon for using Bitmessage via a console: [https://github.com/Dokument/PyBitmessage-Daemon Bitmessage Daemon (GitHub)] | Example Daemon for using Bitmessage via a console: [https://github.com/Dokument/PyBitmessage-Daemon Bitmessage Daemon (GitHub)] | ||
+ | |||
+ | == Running with an initscript on Debian-based distros == | ||
+ | You can use an initscript to have the system automatically start bitmessage at boot. For more information and a basic init-script, look here: [https://github.com/super-nathan/bitmessage-init Bitmessage-Init (Github)] |
Latest revision as of 03:19, 11 August 2013
PyBitmessage can be run in deamon mode by adding this line to your keys.dat file under [bitmessagesettings]:
daemon = true
In this mode, PyBitmessage doesn't require Qt. You will then need the API. If you do not yet have a keys.dat file because you have not yet run Bitmessage, run it. It will create the keys.dat file for you then exit if it cannot find PyQt.
Control
The client can only be controlled via the API, so it is important to set the API values too in the keys.dat file.
Example
Example Daemon for using Bitmessage via a console: Bitmessage Daemon (GitHub)
Running with an initscript on Debian-based distros
You can use an initscript to have the system automatically start bitmessage at boot. For more information and a basic init-script, look here: Bitmessage-Init (Github)