mirror of
https://github.com/aljazceru/cowrie.git
synced 2025-12-17 22:14:19 +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
|
||||
twistd $XARGS -l log/cowrie.log --umask 0077 --pidfile ${PIDFILE} cowrie
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user