1. 22 9月, 2015 4 次提交
    • Travis Cross's avatar
      Move chown of /etc/freeswitch/tls to postinst · 16d0538f
      Travis Cross 提交于
      Doing a chown of something in /etc/ as part of a systemd service file
      is totally broken.  It's far too large a sledgehammer to point at /etc
      here.  Someone may legitimately not be using /etc/freeswitch/tls in
      his configuration, in which case this chown would fail and cause FS to
      fail to start.  Or someone may legitimately need /etc/freeswitch/tls
      to have different ownership, in which case we would clobber it here.
      
      The right thing to do is to create this directory in the
      postinst (which we already are, assuming there is not an existing
      configuration) and then perform the chown of it at the same time.
      
      FS-7697
      16d0538f
    • Travis Cross's avatar
      Use systemd RuntimeDirectory for /run/freeswitch · 12e90ce9
      Travis Cross 提交于
      This changes how we create the temporary directory /run/freeswitch
      when starting FS with systemd.  The /run directory starts empty after
      a system reboot, so we need to ensure this directory is present.
      
      Originally for the FS systemd unit we created /run/freeswitch using
      ExecStartPre and mkdir.  With commit adb5f0d2 this was changed to use
      the tmpfiles.d(5) mechanism (but the ExecStartPre/mkdir code was not
      removed).
      
      As part of systemd.exec(5), systemd provides a mechanism to
      automatically manage these directories under /run and to bind their
      lifetime to the lifetime of the process.  This is actually what we
      want here as compared to the more general tmpfiles.d(5) mechanism.
      
      This commit moves to using the RuntimeDirectory= mechanism and removes
      the obsolete ExecStartPre/mkdir code.
      
      References-commit: adb5f0d2
      12e90ce9
    • Mike Jerris's avatar
      Merge pull request #502 in FS/freeswitch from… · e7e79c21
      Mike Jerris 提交于
      Merge pull request #502 in FS/freeswitch from ~SAUMAR/freeswitch:bugfix/FS-7673-odbc-null-value-incorrectly-evaluated to master
      
      * commit '3aa051e1':
        FS-7673: ODBC NULL value incorrectly evaluated in mod_v8
      e7e79c21
    • Saumar Hajjar's avatar
      3aa051e1
  2. 21 9月, 2015 11 次提交
  3. 19 9月, 2015 4 次提交
  4. 18 9月, 2015 10 次提交
  5. 17 9月, 2015 11 次提交