Last active
August 22, 2021 15:26
-
-
Save yspb/14e3c1ce589319976615e6fbca294366 to your computer and use it in GitHub Desktop.
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 /db/redis.conf | |
ExecStop=/usr/local/bin/redis-cli shutdown | |
Restart=always | |
LimitNOFILE=65536 | |
TimeoutSec=10 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment