Skip to content

Instantly share code, notes, and snippets.

@WhiteyDude
Created November 15, 2018 03:22
Show Gist options
  • Save WhiteyDude/e457bd85e4f476c99a03212792c2770f to your computer and use it in GitHub Desktop.
Save WhiteyDude/e457bd85e4f476c99a03212792c2770f to your computer and use it in GitHub Desktop.
[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