Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
[Unit]
Description=Redis Server 6380
After=network.target
[Service]
Type=simple
PIDFile=/var/run/redis_6380.pid
ExecStart=/usr/local/bin/redis-server /etc/redis/6380.conf
ExecStop=/bin/kill -15 $MAINPID
Restart=on-failure
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment