This is a temporary workaround to have etcd listening on all interfaces so you can access it from docker containers.
Create a file called /media/state/units/etcd-local.service
that has the following contents:
[Unit]
Description=etcd local
[program:tomcat6] | |
command=/opt/tomcat6-instance/bin/supervisor-wrapper.sh |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os | |
import time | |
# 遍历指定目录,显示目录下的所有文件名 | |
def convertWebp2JpgInDirectory(dir): | |
if os.path.isdir(dir): |