• 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
名称
最后提交
最后更新
..
source 正在载入提交数据...
.gitignore 正在载入提交数据...
AUTHORS 正在载入提交数据...
README.Debian 正在载入提交数据...
README.source 正在载入提交数据...
apt_sources.list 正在载入提交数据...
bootstrap.sh 正在载入提交数据...
changelog 正在载入提交数据...
compat 正在载入提交数据...
control-modules 正在载入提交数据...
copyright 正在载入提交数据...
docs 正在载入提交数据...
freeswitch-doc.docs 正在载入提交数据...
freeswitch-doc.install 正在载入提交数据...
freeswitch-mod-java.install.tmpl 正在载入提交数据...
freeswitch-mod-managed.install.tmpl 正在载入提交数据...
freeswitch-mod-perl.install.tmpl 正在载入提交数据...
freeswitch-mod-pocketsphinx.install.tmpl 正在载入提交数据...
freeswitch-mod-python.install.tmpl 正在载入提交数据...
freeswitch-systemd.freeswitch.service 正在载入提交数据...
freeswitch-systemd.install 正在载入提交数据...
freeswitch-sysvinit.freeswitch.default 正在载入提交数据...
freeswitch-sysvinit.freeswitch.init 正在载入提交数据...
freeswitch-timezones.install 正在载入提交数据...
freeswitch.install 正在载入提交数据...
freeswitch.postinst 正在载入提交数据...
freeswitch.postrm 正在载入提交数据...
freeswitch.preinst 正在载入提交数据...
freeswitch.prerm 正在载入提交数据...
gbp.conf 正在载入提交数据...
libfreeswitch-dev.install 正在载入提交数据...
libfreeswitch1.install 正在载入提交数据...
license-reconcile.yml 正在载入提交数据...
python-esl.install 正在载入提交数据...
rules 正在载入提交数据...
util.sh 正在载入提交数据...