CANNASERVER(1) | General Commands Manual | CANNASERVER(1) |
cannaserver - Kana-Kanji conversion server
cannaserver [-d] [-u userid] [-inet] [-inet6] [-l n] [-syslog] [-p num] [ddpath]
cannaserver(1) provides the Kana-Kanji conversion service. Most commonly this daemon starts at daemon bootup framework like /etc/rc depending on your system, so you do not usually start it up manually.
By default, cannaserver(1) only accepts connections from clients at the same host where the server is running (via UNIX domain socket). You can make it accessible from other hosts via TCP by using option -inet (or -inet6). Whether you use this option or not, you can get access control based on user and host using /etc/hosts.canna.
cannaserver(1) immediately forks and gets into the background after it starts. You do not need to use '&' explicitly to make it run in the background.
When it starts, cannaserver(1) creates the UNIX domain socket /tmp/.iroha_unix/IROHA[:num] to communicate clients. The socket is deleted automatically if cannaserver(1) terminates normally. The socket may exist while cannaserver(1) is not running (because, for example, cannaserver(1) terminated abnormally). In this case, delete the file manually or you cannot start it.
/var/lib/canna/dic/*/dics.dir includes the list of dictionaries which are available to clients. Users (i.e. clients) can choose which to use and specify them in ~/.canna.