摘要:
#!/bin/bash # #chkconfig: 2345 80 90 #description: mongodb start() { /usr/local/mongodb/bin/mongod --dbpath=/usr/local/mongodb/mongo_data --logpath=/usr/local/mongodb/logs/mongodb.log --logap... 阅读全文
摘要:
#!/bin/sh # chkconfig: 2345 10 90 # description: Start and Stop redis REDISPORT=6379 EXEC=/usr/local/redis/src/redis-server REDIS_CLI=/usr/local/redis/src/redis-cli PIDFILE=/var/run/redis_6379... 阅读全文