Next: , Previous: , Up: deco and dmd   [Contents][Index]

3.2 Invoking deco

The deco command is a generic client program to control a running instance of dmd (see Invoking dmd). It has the following synopsis:

deco [option…] action service [arg…]

It causes the action of the service to be invoked. For each action, you should pass the appropriate args. Actions that are available for every service are start, stop, restart, status, enable, disable, and doc.

If you pass a file name as an arg, it will be passed as-is to dmd, thus if it is not an absolute name, it is local to the current working directory of dmd, not to deco.

The deco command understands the following option:

-s file

Send commands to the socket special file file. If this option is not specified, localstatedir/run/dmd/socket is taken.