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