2021-05-01 16:48:32 +00:00
|
|
|
#!/usr/bin/with-contenv bash
|
|
|
|
|
2021-05-08 13:52:36 +00:00
|
|
|
perl -i -pe "{
|
|
|
|
s|^dir /var/lib/redis|dir /pagermaid/workdir|;
|
|
|
|
s|^save \d+ 1|save 60 1|;
|
|
|
|
}" /etc/redis/redis.conf
|
|
|
|
|
|
|
|
cd /pagermaid/workdir
|
|
|
|
redis-server /etc/redis/redis.conf
|