mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
add $DAEMONIZE parameter again
This commit is contained in:
@@ -43,10 +43,10 @@ cowrie_status() {
|
||||
cowrie_start() {
|
||||
# Start Cowrie
|
||||
activate_venv "cowrie-env"
|
||||
echo "Starting cowrie with extra arguments [$XARGS] ..."
|
||||
echo "Starting cowrie with extra arguments [$XARGS $DAEMONIZE] ..."
|
||||
if [ $AUTHBIND_ENABLED = "no" ]
|
||||
then
|
||||
twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
||||
twistd $XARGS $DAEMONIZE -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
||||
else
|
||||
authbind --deep twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user