From bd8254c114dd7605cd675dc4c3c11c5e8b1b794f Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 24 Jun 2024 09:42:51 +0000 Subject: automatic import of redis --- redis.service | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 redis.service (limited to 'redis.service') diff --git a/redis.service b/redis.service new file mode 100644 index 0000000..a577c83 --- /dev/null +++ b/redis.service @@ -0,0 +1,17 @@ +[Unit] +Description=Redis persistent key-value database +After=network.target +After=network-online.target +Wants=network-online.target + +[Service] +ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd +Type=notify +User=redis +Group=redis +RuntimeDirectory=redis +RuntimeDirectoryMode=0755 + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3