Skip to content

Instantly share code, notes, and snippets.

Avatar

Alexander Stuart-Kregor ac-astuartkregor

View GitHub Profile
@ac-astuartkregor
ac-astuartkregor / redis
Last active Jul 26, 2019
A generic Centos init script for redis
View redis
#!/bin/sh
#
# redis - this script starts and stops the redis-server daemon
#
# chkconfig: - 85 15
# description: Redis is a persistent key-value database
# processname: redis
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis/redis.pid