![CentOS - 使用 systemctl 指定备用 redis.conf](https://linux22.com/image/119044/CentOS%20-%20%E4%BD%BF%E7%94%A8%20systemctl%20%E6%8C%87%E5%AE%9A%E5%A4%87%E7%94%A8%20redis.conf.png)
我曾经在我的服务器上systemctl
启用自动启动。redis
这很好用。但我想更改我的名称redis.conf
,并且有多个redis
实例。
如何使用非默认配置文件systemctl
启动?redis
我之前使用这个命令来启动我的redis实例:
sudo systemctl enable redis
我曾经在我的服务器上systemctl
启用自动启动。redis
这很好用。但我想更改我的名称redis.conf
,并且有多个redis
实例。
如何使用非默认配置文件systemctl
启动?redis
我之前使用这个命令来启动我的redis实例:
sudo systemctl enable redis