/usr/bin/mailnag_config is in mailnag 0.5.2-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #!/bin/bash
LIB_DIR=/usr/lib/python2.7/dist-packages/Mailnag
cd $(dirname $(readlink -f $0))
python $LIB_DIR/config.py
if [ $? -eq 0 ]; then
# Restart mailnag daemon
./mailnag &
else
echo mailnag-config discarded
fi
|