mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
redis 写入自己的文件夹
This commit is contained in:
parent
4b51befb69
commit
53c58cf1d7
@ -10,7 +10,7 @@ if os.system("docker run --name mysql -v /root/data:/var/lib/mysql -v /root/data
|
|||||||
print "Error start mysql"
|
print "Error start mysql"
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
if os.system("docker run --name redis -v /root/data/:/data -d redis redis-server --appendonly yes"):
|
if os.system("docker run --name redis -v /root/redis/:/data -d redis redis-server --appendonly yes"):
|
||||||
print "Error start redis"
|
print "Error start redis"
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user