mirror of https://github.com/cowrie/cowrie.git
af89919b16
* Update commands/files There were some typo's in the README, these were adjusted and tested. * Removed StateDirectory & LogsDirectory in .service Were not required and giving errors: May 16 12:28:07 debian systemd[1]: [/etc/systemd/system/cowrie.service:16] Unknown lvalue 'StateDirectory' in section 'Service' May 16 12:28:07 debian systemd[1]: [/etc/systemd/system/cowrie.service:17] Unknown lvalue 'LogsDirectory' in section 'Service' |
||
---|---|---|
.. | ||
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