Howtos - Run D-LAN as a deamon » History » Version 2
Greg Burri, 12/16/2012 11:30 AM
| 1 | 1 | Greg Burri | h1. Howtos - Run D-LAN as a deamon |
|---|---|---|---|
| 2 | |||
| 3 | |||
| 4 | h2. Linux |
||
| 5 | |||
| 6 | 2 | Greg Burri | The current version (1.1) doesn't have a @init.d@ script. Despite this, it is easy to launch a detached instance of D-LAN without using tools like _screen_. |
| 7 | 1 | Greg Burri | |
| 8 | After installing D-LAN you can use this command to register it as a service: |
||
| 9 | |||
| 10 | <pre> |
||
| 11 | sudo d-lan-core -i [account] [password] |
||
| 12 | </pre> |
||
| 13 | |||
| 14 | Where @account@ and @password@ are optional parameters. |
||
| 15 | |||
| 16 | Then you can run d-lan by just typing: |
||
| 17 | |||
| 18 | <pre> |
||
| 19 | d-lan-core |
||
| 20 | </pre> |
||
| 21 | |||
| 22 | |||
| 23 | You can stop it with @d-lan-core -t@ and know its status with @d-lan-core -v@. |
||
| 24 | |||
| 25 | [TODO: generate password] |
||
| 26 | |||
| 27 | h2. Windows |
||
| 28 | |||
| 29 | After D-LAN installation is complete, go to @Control Panel > Administrative Tools > Services@. Open the properties of D-LAN Core and set the _Startup type_ from _Manual to Automatic_. |