Systemctl

The WorkingDirectory is very important because by default redis will write all data in the directory it has first started. In case it get started from a directory where the redis user doesn't have write permissions no data will be stored. I learn about that because every time I tried to stop redis the stop script got stuck waiting for the process to finish. This was happening because redis could not write all the data in order to close the process.