分页: 1 / 1

在16.04版本上,memcache如何开机启动多个实例

发表于 : 2016-07-07 15:58
willin2010
在14.04 servers上按照文档 cp memcached_2.conf memcached_3.conf memcached_4.conf 修改每个配置文件的端口,reboot后会自动带起来,但是在16.04 server上这个方法无效 ! 求大神解惑!

Re: 在16.04版本上,memcache如何开机启动多个实例

发表于 : 2016-07-07 16:20
vickycq
willin2010 写了:在16.04 server上这个方法无效!
Ubuntu 从 15.04 开始使用 systemd 替代 upstart

使用 systemd 运行同一服务的多个实例 参考
https://fedoramagazine.org/systemd-template-unit-files/
http://superuser.com/questions/393423/t ... and-vsftpd
https://www.freedesktop.org/software/sy ... .unit.html

使用 systemd 运行 memcached 的多个实例 参考
http://www.readonlyfriday.com/multiple- ... h-systemd/
https://gist.github.com/admo/1049469

Re: 在16.04版本上,memcache如何开机启动多个实例

发表于 : 2016-07-08 11:07
willin2010
感谢vickycq 我查一下最新文档