Skip to content

Instantly share code, notes, and snippets.

View przedmiot's full-sized avatar

Wojtek Pacześniak przedmiot

  • Intertele SA
  • Rzeszów, Poland
View GitHub Profile
@przedmiot
przedmiot / redis-server
Created October 28, 2019 12:32 — forked from tessro/redis-server
A CentOS initscript for 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-server
# config: /etc/redis/redis.conf
# config: /etc/sysconfig/redis
# pidfile: /var/run/redis.pid
@przedmiot
przedmiot / supervisord
Created October 18, 2018 10:47 — forked from mamemomonga/supervisord
/etc/rc.d/init.d/supervisord for CentOS 6
#!/bin/bash
#
# Startup script for the Supervisor server
#
# Tested with CentOS release 6.6
#
# chkconfig: 2345 85 15
# description: Supervisor is a client/server system that allows its users to \
# monitor and control a number of processes on UNIX-like \
# operating systems.