So I'm not sure how to even figure out what's happening. Running redis-server version 6.2.5 on RHEL 7.9. I can start REDIS with the user I want to run it as from the command line. But when I try to start it as a systemd service with the REDIS.service file:
[Unit]
Description=REDIS Service
After=syslog.target network.target remote-fs.target nss-lookup.target
[Service]
Type=simple
User=myuser
Group=myuser
WorkingDirectory=/app/redis
ExecStart=/bin/redis-server /app/redis/primary.conf
Restart=on-failure
[Install]
WantedBy=multi-user.target
â— REDIS.service - REDIS Service
Loaded: loaded (/etc/systemd/system/REDIS.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Thu 2021-08-26 14:38:45 CDT; 12s ago
Process: 75670 ExecStart=/bin/redis-server /app/redis/primary.conf (code=exited, status=1/FAILURE)
Main PID: 75670 (code=exited, status=1/FAILURE)
Aug 26 14:38:44 myServer systemd[1]: Unit REDIS.service entered failed state.
Aug 26 14:38:44 myServer systemd[1]: REDIS.service failed.
Aug 26 14:38:45 myServer systemd[1]: REDIS.service holdoff time over, scheduling restart.
Aug 26 14:38:45 myServer systemd[1]: Stopped REDIS Service.
Aug 26 14:38:45 myServer systemd[1]: start request repeated too quickly for REDIS.service
Aug 26 14:38:45 myServer systemd[1]: Failed to start REDIS Service.
Aug 26 14:38:45 myServer systemd[1]: Unit REDIS.service entered failed state.
Aug 26 14:38:45 myServer systemd[1]: REDIS.service failed.
How do I trouble shoot what's going on, it's not putting anything in the logfile I have set in the config file?
Thanks,
Eric