adjust path for docker-compose

This commit is contained in:
Marco Ochse 2018-02-13 12:19:04 +01:00
parent aa12139d8d
commit c8bcc8c611

View file

@ -43,7 +43,7 @@ ExecStartPre=/sbin/iptables -w -A INPUT -p tcp --syn -m state --state NEW -j NFQ
ExecStart=/usr/bin/docker-compose -f /opt/tpot/etc/tpot.yml up --no-color ExecStart=/usr/bin/docker-compose -f /opt/tpot/etc/tpot.yml up --no-color
# Compose T-Pot down, remove containers and volumes # Compose T-Pot down, remove containers and volumes
ExecStop=/usr/local/bin/docker-compose -f /opt/tpot/etc/tpot.yml down -v ExecStop=/usr/bin/docker-compose -f /opt/tpot/etc/tpot.yml down -v
# Remove only previously set iptables rules # Remove only previously set iptables rules
ExecStopPost=/sbin/iptables -w -D INPUT -s 127.0.0.1 -j ACCEPT ExecStopPost=/sbin/iptables -w -D INPUT -s 127.0.0.1 -j ACCEPT