OS: Ubuntu 20.04

# wget https://download.redis.io/releases/redis-6.0.9.tar.gz
# tar xzf redis-6.0.9.tar.gz
# cd redis-6.0.9
# make
# make install
# mkdir /etc/redis
# cp redis.conf /etc/redis/
# cd utils
# cp systemd-redis_server.service /etc/systemd/system/redis-server.service

I installed Redis by the commands above.

Then tried to start the server by

# systemctl start redis-server

This blocks the terminal, so I had to send Ctrl+C to get the control back.

If you change Type=notify to Type=simple in the service file, systemctl does not block.

Comment From: yossigo

Hi @hylowaker, please make sure that you compile Redis with libsystemd support (default if you have pkg-config and the libsystemd-dev development library). Also, you will need to set supervised systemd.

Using Type=notify is the preferred way to run with systemd, as Redis will also relay to systemd its state changes.

Comment From: hylowaker

After installing development libraries it works fine.