Project

General

Profile

Howtos - Run D-LAN as a deamon » History » Version 4

Greg Burri, 12/16/2012 02:09 PM

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 4 Greg Burri
Where _account_ and _password_ are optional parameters.
15 1 Greg Burri
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 3 Greg Burri
To remotely control the core with D-LAN.GUI you have to define a password with the following command. The core must be stopped.
26
27
<pre>
28
d-lan-core --pass <a password>
29
</pre>
30
31 1 Greg Burri
32
h2. Windows
33
34
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_.