Created
September 14, 2022 17:30
-
-
Save micheleberardi/a7e75777b80571e6ef185cdb427b2bdb to your computer and use it in GitHub Desktop.
redis_6379.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 persistent key-value database | |
After=network.target | |
[Service] | |
ExecStart=/usr/local/bin/redis-server /etc/redis/6379.conf --daemonize no --supervised systemd | |
ExecStop=/usr/libexec/redis-shutdown | |
#Type=notify | |
User=redis | |
Group=redis | |
RuntimeDirectory=redis | |
RuntimeDirectoryMode=0755 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment