[root@iZbp1d4tisi44jrbwiev71Z system]# systemctl status redis.service ● redis.service - The redis-server Process Manager Loaded: loaded (/etc/systemd/system/redis.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2022-01-06 14:25:55 CST; 2s ago Process: 10943 ExecStop=/bin/kill -SIGINT $MAINPID (code=exited, status=1/FAILURE) Process: 10941 ExecStart=/tmhc/redis_63791/src/redis-server /tmhc/redis_63791/redis.conf (code=exited, status=0/SUCCESS) Main PID: 10941 (code=exited, status=0/SUCCESS)
Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -s, --signal <sig> send specified signal Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -q, --queue <sig> use sigqueue(2) rather than kill(2) Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -p, --pid print pids without signaling them Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -l, --list [=<signal>] list signal names, or convert one to a name Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -L, --table list signal names and numbers Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -h, --help display this help and exit Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: -V, --version output version information and exit Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z kill[10943]: For more details see kill(1). Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z systemd[1]: Unit redis.service entered failed state. Jan 06 14:25:55 iZbp1d4tisi44jrbwiev71Z systemd[1]: redis.service failed.
[root@iZbp1d4tisi44jrbwiev71Z system]# nano redis.service [root@iZbp1d4tisi44jrbwiev71Z system]# systemctl status redis.service ● redis.service - The redis-server Process Manager Loaded: loaded (/etc/systemd/system/redis.service; disabled; vendor preset: disabled) Active: active (running) since Thu 2022-01-06 14:36:13 CST; 5min ago Process: 11492 ExecStart=/tmhc/redis_63791/src/redis-server /tmhc/redis_63791/redis.conf (code=exited, status=0/SUCCESS) Main PID: 11493 (redis-server) CGroup: /system.slice/redis.service └─11493 /tmhc/redis_63791/src/redis-server *:63791
Jan 06 14:36:13 iZbp1d4tisi44jrbwiev71Z systemd[1]: Starting The redis-server Process Manager... Jan 06 14:36:13 iZbp1d4tisi44jrbwiev71Z redis-server[11492]: 11492:C 06 Jan 14:36:13.409 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo Jan 06 14:36:13 iZbp1d4tisi44jrbwiev71Z redis-server[11492]: 11492:C 06 Jan 14:36:13.409 # Redis version=4.0.2, bits=64, commit=00000000, modified=...started Jan 06 14:36:13 iZbp1d4tisi44jrbwiev71Z redis-server[11492]: 11492:C 06 Jan 14:36:13.409 # Configuration loaded Jan 06 14:36:13 iZbp1d4tisi44jrbwiev71Z systemd[1]: PID file /var/run/redis_63791.pid not readable (yet?) after start. Jan 06 14:36:13 iZbp1d4tisi44jrbwiev71Z systemd[1]: Started The redis-server Process Manager. Hint: Some lines were ellipsized, use -l to show in full.