mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 05:54:21 +01:00
Use ${PIDFILE} instead of cowrie.pid when using authbind (#479)
Fixes #477
This commit is contained in:
committed by
Michel Oosterhof
parent
dd6034a95c
commit
a1bf057a71
@@ -48,7 +48,7 @@ cowrie_start() {
|
|||||||
then
|
then
|
||||||
twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
||||||
else
|
else
|
||||||
authbind --deep twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile cowrie.pid cowrie
|
authbind --deep twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user