Last active
October 11, 2017 17:43
-
-
Save plainbanana/0ec1a4589637c4c2961a834f7a1b7677 to your computer and use it in GitHub Desktop.
/etc/systemd/system/redis.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description = Redis In-Memory Data Store | |
After = network.target | |
[Service] | |
User = redis | |
Group = redis | |
ExecStart = /usr/local/bin/redis-server /etc/redis/redis.conf | |
ExecStop = /usr/local/bin/redis-cli shutdown | |
Restart = always | |
Type = simple | |
[Install] | |
WantedBy = multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment