Updated to correct PIDFile path for cowrie.service (#395)

* Updated service template to use the virtual-env and proper PID file location

* Fixed PIDFile path in cowrie.service template

* Revert "Fixed PIDFile path in cowrie.service template"

This reverts commit 022afb7134.

* Revert "Revert "Fixed PIDFile path in cowrie.service template""

This reverts commit 5b01372176.

Revert changes

* Fixed PIDFile path in cowrie.service template

* Updated to correct PIDFile path for cowrie.service
This commit is contained in:
dwasserm 2017-01-04 14:26:53 -05:00 committed by Michel Oosterhof
parent 439ef8499f
commit 0254a78d53
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ Wants=mysql.service
Type=forking
User=cowrie
Group=cowrie
PIDFile=/var/run/cowrie.pid
PIDFile=/home/cowrie/cowrie/var/run/cowrie.pid
ExecStart=/home/cowrie/cowrie/start.sh cowrie-env
ExecStop=/home/cowrie/cowrie/stop.sh
ExecReload=/home/cowrie/cowrie/stop.sh && sleep 10 && /home/cowrie/cowrie/start.sh cowrie-env