mirror of https://github.com/cowrie/cowrie.git
813f35e86d
* typing * clean also cleans docs/ * ignore twistedchecker exit code * twistedchecker fixes * update docs. add copy button * add missing $ prompts * updated copyright * isort * remove flake8-import order. config flake8/isort/black * remove import order * docs restructure * should pick up settings from setup.cfg * put conversion code back in. JSON encoding needs it |
||
---|---|---|
.. | ||
etc | ||
README.rst |
README.rst
Automatically starting Cowrie with systemd ########################################### NOTE: untested * Copy the file ``docs/systemd/system/cowrie.socket`` to ``/etc/systemd/system`` * Copy the file ``docs/systemd/system/cowrie.service`` to ``/etc/systemd/system`` * Examine ``/etc/systemd/system/cowrie.service`` and ensure the paths are correct for your installation if you use non-standard file system locations. * Add entries to ``etc/cowrie.cfg`` to listen on ports via systemd. These must match your cowrie.socket configuration:: [ssh] listen_endpoints = systemd:domain=INET6:index=0 [telnet] listen_endpoints = systemd:domain=INET6:index=1 * Run:: $ sudo systemctl daemon-reload $ sudo systemctl start cowrie.service $ sudo systemctl enable cowrie.service