|
Line 0
Link Here
|
|
|
1 |
========================================================================== |
| 2 |
Please configure Motsognir using |
| 3 |
|
| 4 |
%%PREFIX%%/etc/motsognir.conf |
| 5 |
|
| 6 |
|
| 7 |
Add the following line to /etc/rc.conf to enable Motsognir: |
| 8 |
|
| 9 |
motsognir_enable="YES" |
| 10 |
|
| 11 |
|
| 12 |
Then you can start Motsognir daemon by issuing the following command: |
| 13 |
|
| 14 |
%%PREFIX%%/etc/rc.d/motsognir start |
| 15 |
|
| 16 |
|
| 17 |
You might need to add the following line to /etc/syslog.conf |
| 18 |
|
| 19 |
daemon.* /var/log/daemon.log |
| 20 |
|
| 21 |
if you want to keep log informations of Motsognir. Some of them go to |
| 22 |
/var/log/messages, but connection informations go to LOG_INFO. |
| 23 |
|
| 24 |
|
| 25 |
Motsognir will serve files in /var/gopher/ per default. |
| 26 |
|
| 27 |
|
| 28 |
Note that Motsognir tries to use an inet6/ipv6 socket. Therefore it needs |
| 29 |
access to an interface where ipv6 is enabled (for instance if you run |
| 30 |
Motsognir in a jail). This holds even if you want to bind it to an ipv4 |
| 31 |
address. |
| 32 |
========================================================================== |