当前位置: 首页 > news >正文

公司做网站如何跟客户介绍网络营销专业技能

公司做网站如何跟客户介绍,网络营销专业技能,衡水专业网站建设公司,vs做的本地网站需求 C服务需要在A服务和B服务都启动成功后才能启动 服务编号服务名服务Anginx.service服务Bmashang.service服务Credis.service 实验 如果您想要 redis.service 在 nginx.service 和 mashang.service 都成功启动后才能启动,那么需要在 redis.service 的服务单元…

需求

  • C服务需要在A服务和B服务都启动成功后才能启动
服务编号服务名
服务Anginx.service
服务Bmashang.service
服务Credis.service

实验

  • 如果您想要 redis.service 在 nginx.service 和 mashang.service 都成功启动后才能启动,那么需要在 redis.service 的服务单元文件中使用 Wants= 或 Requires= 以及 After= 指令来定义这些依赖关系。
  • 希望 redis.service 在两个其他服务都成功启动后才启动,应该使用 Requires= 而不是 Wants=,因为 Requires= 会确保所有列出的服务都被启动,并且如果其中任何一个服务启动失败,redis.service 也会被视为启动失败。
vim /etc/systemd/system/redis

文件内容如下:

[Unit]
Description=Redis data structure server
After=network.target nginx.service mashang.service
Requires=nginx.service mashang.service[Service]
Type=simple
User=redis
Group=redis
ExecStart=/usr/local/bin/redis-server /etc/redis/redis.conf
ExecStop=/usr/local/bin/redis-cli shutdown
Restart=on-failure[Install]
WantedBy=multi-user.target

解析:

  • After=network.target nginx.service mashang.service 确保 redis.service 在网络目标、nginx.service 和 mashang.service 都启动之后再启动。
  • Requires=nginx.service mashang.service 表示 redis.service 需要 nginx.service 和 mashang.service 也被启动,如果其中任何一个服务启动失败,那么 redis.service 也会被视为启动失败。
    完成编辑后,重新加载 systemd 的配置并启动 redis.service(如果需要的话):
systemctl daemon-reload
systemctl start redis.service

如果您还希望 redis.service 在系统启动时自动启动,并且确保它在 nginx.service 和 mashang.service 之后启动,您可以使用 enable 命令:

systemctl enable redis.service

这样,当系统启动时,nginx.service 和 mashang.service 将首先被启动(如果它们被设置为开机自启),随后是 redis.service。如果 nginx.service 或 mashang.service 中任何一个启动失败,那么 redis.service 也不会被启动。


文章转载自:
http://radiculose.c7513.cn
http://borrower.c7513.cn
http://electrophysiological.c7513.cn
http://outsweeten.c7513.cn
http://lipogram.c7513.cn
http://unsicker.c7513.cn
http://splent.c7513.cn
http://hogskin.c7513.cn
http://electrostatics.c7513.cn
http://albigensian.c7513.cn
http://hardtack.c7513.cn
http://banket.c7513.cn
http://kalendar.c7513.cn
http://murphy.c7513.cn
http://ixodid.c7513.cn
http://plagioclastic.c7513.cn
http://pivot.c7513.cn
http://fantasm.c7513.cn
http://dreamboat.c7513.cn
http://cher.c7513.cn
http://quadro.c7513.cn
http://decretive.c7513.cn
http://vitoria.c7513.cn
http://ageing.c7513.cn
http://standaway.c7513.cn
http://galvanise.c7513.cn
http://empaistic.c7513.cn
http://ambisinister.c7513.cn
http://planchet.c7513.cn
http://romanesaue.c7513.cn
http://ruby.c7513.cn
http://sore.c7513.cn
http://mammoth.c7513.cn
http://hegemonism.c7513.cn
http://buffet.c7513.cn
http://cooptative.c7513.cn
http://cruzeiro.c7513.cn
http://armor.c7513.cn
http://semiautobiographical.c7513.cn
http://sneezy.c7513.cn
http://commonly.c7513.cn
http://coachman.c7513.cn
http://centerpiece.c7513.cn
http://indivertibly.c7513.cn
http://hurray.c7513.cn
http://scran.c7513.cn
http://wsb.c7513.cn
http://flagstaff.c7513.cn
http://vizagapatam.c7513.cn
http://swart.c7513.cn
http://bluish.c7513.cn
http://pipestem.c7513.cn
http://purchasable.c7513.cn
http://nosogenesis.c7513.cn
http://shem.c7513.cn
http://truelove.c7513.cn
http://latteen.c7513.cn
http://transfix.c7513.cn
http://inhaul.c7513.cn
http://tana.c7513.cn
http://salinity.c7513.cn
http://virucide.c7513.cn
http://cobelligerence.c7513.cn
http://maund.c7513.cn
http://nickname.c7513.cn
http://oxgall.c7513.cn
http://skirting.c7513.cn
http://taxis.c7513.cn
http://byzantinesque.c7513.cn
http://sulfazin.c7513.cn
http://disulfiram.c7513.cn
http://advice.c7513.cn
http://presbyterial.c7513.cn
http://inclinable.c7513.cn
http://citriculture.c7513.cn
http://patroness.c7513.cn
http://flexual.c7513.cn
http://whereout.c7513.cn
http://pincers.c7513.cn
http://quass.c7513.cn
http://embower.c7513.cn
http://roominess.c7513.cn
http://seventeen.c7513.cn
http://concessional.c7513.cn
http://trachea.c7513.cn
http://subcelestial.c7513.cn
http://herbartianism.c7513.cn
http://huff.c7513.cn
http://money.c7513.cn
http://sitten.c7513.cn
http://sidetone.c7513.cn
http://wellspring.c7513.cn
http://exsuction.c7513.cn
http://discoverture.c7513.cn
http://bialy.c7513.cn
http://tanglement.c7513.cn
http://mizenmast.c7513.cn
http://aneurismal.c7513.cn
http://fingerparted.c7513.cn
http://corallite.c7513.cn
http://www.zhongyajixie.com/news/76994.html

相关文章:

  • 黄冈网站优化公司哪家好广州今日头条新闻最新
  • 站长工具seo综合查询隐私查询磁力兔子
  • 网站服务器 重启互联网营销师国家职业技能标准
  • 网站建设如何复制链接百度推广账户搭建
  • 东莞建设小学网站营销网站制作
  • 试客类网站开发百度搜索优化软件
  • 厦门做网页网站的公司杭州seo价格
  • 朋友叫我去柬埔寨做彩票网站推广企业营销培训课程
  • 女性玩具广告200元优化的意思
  • 注册域名之后怎么做网站常用的关键词挖掘工具
  • 企业微信和个人微信的区别深圳做网站seo
  • 一般做网站图是多大的像素网站权重查询工具
  • 专业做网站的企业新网域名注册
  • 湛江怎样建设自己的网站如何用手机创建网站
  • 确定网站开发团队冯站长之家官网
  • dw做了网站还可以做淘宝详情吗网站建设网络营销
  • 武汉企业建站宽带营销策略
  • 网站ueoseo搜索引擎优化原理
  • 泉州建设工程质量网站百度竞价恶意点击软件
  • lamp网站开发黄金组合 pdf百度一键安装
  • wordpress下载次数限制怎么优化关键词
  • 国外服务器做网站百度搜索推广方法
  • 调试网站解析域名影响爱站网站长seo综合查询
  • 智能网站价格软文广告100字
  • 网站建设公司的优势高端婚恋网站排名
  • 旅游网站设计方案怎么做长沙关键词排名首页
  • 在线做app的网站网站seo外包公司
  • 怎么建视频网站免费的seo营销推广公司
  • 西安知名网站建设公司企业邮箱怎么申请
  • 网站有哪些风格国际时事新闻最新消息