#!/bin/sh echo "daemonize yes" > /redis.conf echo "dbfilename dump.rdb" >> /redis.conf echo "dir /redisbackup/" >> /redis.conf echo "save 30 1" >> /redis.conf redis-server /redis.conf /lorebot $@