cd /usr/local/src/freeswitch/build

cp freeswitch.service /usr/lib/systemd/system/
cp freeswitch.sysconfig /etc/sysconfig/freeswitch #在freeswitch.service文件中需要修改的内容
1. User修改为root
2. WorkingDirectory修改为/usr/local/freeswitch
3. ExecStart修改为/usr/local/freeswitch/bin/freeswitch #开机启动
systemctl enable freeswitch.service
#Created symlink from /etc/systemd/system/multi-user.target.wants/freeswitch.service to /usr/lib/systemd/system/freeswitch.service. systemctl start freeswitch #修改freeswitch.service文件后重新加载
systemctl daemon-reload #去除开机启动
systemctl disable freeswitch.service [1]
												

最新文章

  1. IEEE 802.11p (WAVE,Wireless Access in the Vehicular Environment)
  2. linux yum 工具
  3. 镁光c400-MTFDDAK064M固态硬盘更新固件
  4. Vim块注释
  5. 第一次尝试用 Live Writer 写博客
  6. [php/html/CSS]给Aptana3 安装 Emmet插件
  7. unigui unidbgrid显示列的合计值
  8. JNI的一些使用
  9. C#模拟POST提交表单(二)--HttpWebRequest以及HttpWebResponse
  10. Android 富文本框实现 RichEditText
  11. 使用Gradle创建java web项目
  12. 学习笔记——观察者模式Observer
  13. html标签中head中两个标签的作用
  14. 搭建非域AlwaysOn win2016+SQL2016
  15. ueditorUE 去掉本地保存成功的提示框!
  16. CentOS 6.5系统中安装配置MySQL数据库
  17. python 复数类型
  18. Robberies HDU - 2955
  19. 字符串中包含汉字和\u,显示出汉字来
  20. JS应该放在什么位置?

热门文章

  1. eclipse项目转idea项目
  2. SPI读写官方Demo
  3. Java学习笔记(三)java方法
  4. Gameframework之微信小游戏
  5. 新的学习历程-python3 基本运算
  6. Linux(CentOS) Mysql 8.0.30 安装(多源安装)
  7. 【CDH】cdh搭建遇到的坑和解决过程
  8. linux 清空catalina.out日志 不需要重启tomcat(五种方法)
  9. 将【jar包、bat、其他文件】注册到windows服务的三种方法
  10. Linux-curl下载报错解决方法