Commit Graph

23 Commits

Author SHA1 Message Date
Michel Oosterhof 3ee979e24a bin/cowrie now takes additional arguments 2017-05-16 22:12:29 +04:00
tweemeterjop 77f629c0bf Add support for cowrie args in start script (#504)
* Add support for args for cowrie.

* Print the extra arguments on start.
2017-05-09 13:41:36 +04:00
Michel Oosterhof aa80ecd491 update help for command 2017-05-08 13:42:47 +04:00
Michel Oosterhof 210146c246 Merge branch 'master' of https://github.com/micheloosterhof/cowrie 2017-05-08 13:39:05 +04:00
Michel Oosterhof 821c14093d logic around pid file mgmt for status command 2017-04-29 19:26:04 +04:00
Michel Oosterhof 5ee61e2d1c update stop command for stale pid 2017-04-20 21:46:22 +04:00
boozezela 28dfaa3369 Update cowrie (#494)
Calling by default activate_venv forces the use of virtual environments on everyone.
If one does not use virtual environments, the systemd service script will fail giving a reason that has nothing to do with this.

I have noticed this problem when i have replaced the systemd service script to deprecate the use of start/stop scripts.

The use of a conditional statements solves this for me.

While investigating this issue, I have also noticed the folllwing:

1-there are two pid files declared:
PIDFILE in cowrie
PIDFile in service.cowrie

2-if you run "bin/cowrie start" as the cowrie user and then you run "service cowrie stop" as root, the execstop command will not be run (this could be the normal behaviour of systemd though).
2017-04-10 07:39:41 +04:00
Mateusz Piotrowski 5eb5ec452b Fix a bug in a portable relative paths resolver (#483)
It turns out that this `|` was a typo. (See https://unix.stackexchange.com/questions/24293/converting-relative-path-to-absolute-path/24342?noredirect=1#comment623203_24342)
2017-03-16 21:45:57 -07:00
Michel Oosterhof 19d4fc782a add $DAEMONIZE parameter again 2017-03-15 04:44:16 +00:00
lelonek1 a1bf057a71 Use ${PIDFILE} instead of cowrie.pid when using authbind (#479)
Fixes #477
2017-03-14 13:22:10 -07:00
Michel Oosterhof 55105582cb more changes to start/stop 2017-03-07 19:17:30 +00:00
Michel Oosterhof d6b9115ba7 cowrie script needs to be bash 2016-12-11 15:05:00 +04:00
Michel Oosterhof 88c84e89c0 usage message in function 2016-10-30 10:06:04 +04:00
Michel Oosterhof ba8bf3e552 new script to start/stop 2016-10-27 17:27:29 +04:00
Michel Oosterhof 48c9f092e3 Fix #319 2016-10-27 04:44:17 +00:00
Michel Oosterhof ec457b18d4 change file() statement to open() 2016-10-23 14:34:32 +00:00
Michel Oosterhof 4075e55c3d python3 compat 2016-09-18 21:25:50 +00:00
Michel Oosterhof d6c6d7a788 python 3 compatible. maxdepht = 100 by default 2016-09-18 21:19:49 +00:00
Michel Oosterhof 4b9b86356f Fix #219 2016-09-05 23:09:49 +04:00
Timothy-Barron a56101f325 fixed do_chgrp in fsctl so it changes GID instead of UID (#220)
This bug was probably a result of copied code from do_chown
2016-08-11 13:04:58 +03:00
Michel Oosterhof b155ddbe15 update docs 2016-07-14 07:04:12 +00:00
Russell Troxel cd62bfe191 Fix Uploads to asciinema server. (#207)
Thanks!
2016-07-09 17:06:31 +04:00
Michel Oosterhof 44c22a2110 rename utils and to bin. move docs to doc. 2016-04-28 14:44:40 +04:00