mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
fix
This commit is contained in:
@ -34,7 +34,7 @@ touch /var/run/check.lock
|
|||||||
|
|
||||||
# Stop T-Pot services and disable all T-Pot services
|
# Stop T-Pot services and disable all T-Pot services
|
||||||
echo "### Stopping T-Pot services and cleaning up."
|
echo "### Stopping T-Pot services and cleaning up."
|
||||||
for i in $(cat /data/all_images.conf);
|
for i in $(cat /data/imgcfg/all_images.conf);
|
||||||
do
|
do
|
||||||
systemctl stop $i
|
systemctl stop $i
|
||||||
sleep 2
|
sleep 2
|
||||||
@ -57,8 +57,8 @@ echo "### Starting docker services ..."
|
|||||||
systemctl start docker
|
systemctl start docker
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
# Enable only T-Pot upstart scripts from images.conf and pull the images
|
# Enable only T-Pot systemd scripts from images.conf and pull the images
|
||||||
for i in $(cat /data/imgcfg/images.conf);
|
for i in $(cat /data/images.conf);
|
||||||
do
|
do
|
||||||
echo
|
echo
|
||||||
echo "### Now pulling "$i
|
echo "### Now pulling "$i
|
||||||
|
Reference in New Issue
Block a user