• Travis Cross's avatar
    Remove explicit set of WorkingDirectory · 2184af8e
    Travis Cross 提交于
    In the systemd unit for FS/debian, if the WorkingDirectory is not set
    then it defaults to '/'.  This is fine for FS, and is a common and
    expected chdir choice for daemons.
    
    We had previously set this to /run/freeswitch.  Due to Debian having
    systemd-coredump(8) disabled, this was causing core files to be
    written to /run/freeswitch, which is a bad place for them as it's
    mounted on tmpfs.  So in commit cd68e0fe we changed this to the log
    directory /var/log/freeswitch.  That choice is a bit usual as well on
    Debian.
    
    It's better to leave FS as running on '/'.  This will prevent core
    files from being written unless the user adjusts `sysctl
    kernel.core_pattern`, which is a reasonable thing to expect if the
    user wants these files.  Core files can be huge, and even having them
    go to /var/log unexpectedly can be a problem.
    
    When Debian adds the systemd-coredumps support this will all work
    nicely and automatically.
    
    ref: http://www.freedesktop.org/software/systemd/man/coredump.conf.html
    ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744964
    
    References-commit: cd68e0fe
    
    FS-7909
    2184af8e
名称
最后提交
最后更新
build 正在载入提交数据...
clients/flex 正在载入提交数据...
cmake_modules 正在载入提交数据...
conf 正在载入提交数据...
debian 正在载入提交数据...
docs 正在载入提交数据...
dtd 正在载入提交数据...
fonts 正在载入提交数据...
fscomm 正在载入提交数据...
htdocs 正在载入提交数据...
html5/verto 正在载入提交数据...
images 正在载入提交数据...
libs 正在载入提交数据...
scripts 正在载入提交数据...
src 正在载入提交数据...
support-d 正在载入提交数据...
tests/unit 正在载入提交数据...
w32 正在载入提交数据...
web 正在载入提交数据...
yum 正在载入提交数据...
.clang-format 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
Freeswitch.2015.sln 正在载入提交数据...
Freeswitch.2015.sln.bat 正在载入提交数据...
INSTALL 正在载入提交数据...
Makefile.am 正在载入提交数据...
acinclude.m4 正在载入提交数据...
bootstrap.sh 正在载入提交数据...
cc.sh 正在载入提交数据...
cluecon.tmpl 正在载入提交数据...
cluecon2.tmpl 正在载入提交数据...
cluecon2_small.tmpl 正在载入提交数据...
cluecon_small.tmpl 正在载入提交数据...
configure.ac 正在载入提交数据...
devel-bootstrap.sh 正在载入提交数据...
erlang.spec 正在载入提交数据...
freeswitch-config-rayo.spec 正在载入提交数据...
freeswitch-sounds-en-ca-june.spec 正在载入提交数据...
freeswitch-sounds-en-us-callie.spec 正在载入提交数据...
freeswitch-sounds-fr-ca-june.spec 正在载入提交数据...
freeswitch-sounds-music.spec 正在载入提交数据...
freeswitch-sounds-pt-BR-karina.spec 正在载入提交数据...
freeswitch-sounds-ru-RU-elena.spec 正在载入提交数据...
freeswitch-sounds-sv-se-jakob.spec 正在载入提交数据...
freeswitch.spec 正在载入提交数据...
swig_common.i 正在载入提交数据...