forked from p34709852/monkey
minor .deb fix
This commit is contained in:
parent
5c8783eaea
commit
cccd7793d6
|
@ -3,6 +3,6 @@ Architecture: amd64
|
|||
Maintainer: Guardicore
|
||||
Homepage: http://www.guardicore.com
|
||||
Priority: optional
|
||||
Version: VERSION
|
||||
Version: 1.0
|
||||
Description: Guardicore Infection Monkey Island (C&C) installation package
|
||||
Depends: openssl, python-pip
|
||||
|
|
|
@ -25,4 +25,6 @@ ${MONKEY_FOLDER}/create_certificate.sh
|
|||
service monkey-island start
|
||||
service monkey-mongo start
|
||||
|
||||
echo Monkey Island installation ended
|
||||
echo Monkey Island installation ended
|
||||
|
||||
exit 0
|
|
@ -5,5 +5,7 @@ service monkey-mongo stop || true
|
|||
|
||||
rm -f /etc/init/monkey-island.conf
|
||||
rm -f /etc/init/monkey-mongo.conf
|
||||
rm /lib/systemd/system/monkey-island.service
|
||||
rm /lib/systemd/system/monkey-mongo.service
|
||||
[ -f "/lib/systemd/system/monkey-island.service" ] && rm -f /lib/systemd/system/monkey-island.service
|
||||
[ -f "/lib/systemd/system/monkey-mongo.service" ] && rm -f /lib/systemd/system/monkey-mongo.service
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue