Skip to content
项目
群组
代码片段
帮助
正在加载...
登录
切换导航
F
freeswitch
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张华
freeswitch
Commits
c1e140fd
提交
c1e140fd
authored
11月 20, 2015
作者:
Ken Rice
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Revert "FS-8369 Debian8/CentOS7 systemd installer additions"
This reverts commit
757fa942
.
上级
ff12bd6c
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
10 行增加
和
11 行删除
+10
-11
Makefile.am
build/Makefile.am
+3
-3
configure.ac
configure.ac
+3
-4
freeswitch.default
init/freeswitch.default
+0
-0
freeswitch.service.in
init/freeswitch.service.in
+0
-0
freeswitch.tmpfile
init/freeswitch.tmpfile
+0
-0
install_systemd.sh.in
init/install_systemd.sh.in
+4
-4
没有找到文件。
build/Makefile.am
浏览文件 @
c1e140fd
...
...
@@ -57,10 +57,10 @@ install:
@
echo
" +
$(MK)
samples +"
if
KNOWN_INIT
@echo
" + +"
@echo " + Install
startup scripts
:
+"
@
echo
" + ---------------------
---
+"
@echo " + Install
init scripts
:
+"
@
echo
" + ---------------------
+"
@
echo
" + +"
@
echo
" +
build/startup/install_systemd.sh
+"
@
echo
" +
init/install_systemd.sh
+"
endif
@echo
" + +"
@echo
" + +"
...
...
configure.ac
浏览文件 @
c1e140fd
...
...
@@ -83,7 +83,7 @@ default_certsdir="$prefix/certs"
default_fontsdir="$prefix/fonts"
default_imagesdir="$prefix/images"
eval bindir_expanded="${bindir}
"
bindir="$exec_prefix/bin
"
if test "${enable_fhs}" = "yes"; then
eval full_datadir="${datadir}/freeswitch"
...
...
@@ -789,9 +789,8 @@ case "$host" in
AC_SUBST(DISTRO)
AC_SUBST(rundir)
AC_SUBST(environmentfilelocation)
AC_SUBST(bindir_expanded)
AC_CONFIG_FILES([build/startup/install_systemd.sh], [chmod +x build/startup/install_systemd.sh])
AC_CONFIG_FILES([build/startup/freeswitch.service])
AC_CONFIG_FILES([init/install_systemd.sh], [chmod +x init/install_systemd.sh])
AC_CONFIG_FILES([init/freeswitch.service])
fi
;;
*)
...
...
build/startup
/freeswitch.default
→
init
/freeswitch.default
浏览文件 @
c1e140fd
File moved
build/startup
/freeswitch.service.in
→
init
/freeswitch.service.in
浏览文件 @
c1e140fd
File moved
build/startup
/freeswitch.tmpfile
→
init
/freeswitch.tmpfile
浏览文件 @
c1e140fd
File moved
build/startup
/install_systemd.sh.in
→
init
/install_systemd.sh.in
浏览文件 @
c1e140fd
...
...
@@ -25,11 +25,11 @@ echo "- Create user freeswitch and add it to group freeswitch"
FSPATH
=
@prefix@
if
[[
$FSPATH
==
*
"freeswitch"
*
]]
then
echo
"- Set permissions on @prefix@ and files in @bindir
_expanded
@"
echo
"- Set permissions on @prefix@ and files in @bindir@"
fi
echo
"- Install systemd unit file"
echo
"- Install /etc/@environmentfilelocation@/freeswitch"
echo
echo
read
-p
"Do you want to continue? (y/n) "
-n
1
-r
if
[[
$REPLY
=
~ ^[yY]
$
]]
then
...
...
@@ -45,7 +45,7 @@ then
then
$SUDO
chown
-R
freeswitch:freeswitch @prefix@
$SUDO
chmod
-R
ug
=
rwX,o
=
@prefix@
$SUDO
chmod
-R
u
=
rwx,g
=
rx @bindir
_expanded
@/
*
$SUDO
chmod
-R
u
=
rwx,g
=
rx @bindir@/
*
fi
$SUDO
cp
init/freeswitch.service /etc/systemd/system/
$SUDO
cp
init/freeswitch.tmpfile /etc/tmpfiles.d/freeswitch.conf
...
...
@@ -58,5 +58,5 @@ then
else
echo
"Make sure your config files are in place in @confdir@, if they are you can start Freeswitch using 'systemctl start freeswitch'"
fi
echo
"Then start fs_cli by running @bindir
_expanded
@/fs_cli"
echo
"Then start fs_cli by running @bindir@/fs_cli"
fi
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论