diff options
Diffstat (limited to 'net-libs/xrootd/files/frm_xfrd.initd')
-rw-r--r-- | net-libs/xrootd/files/frm_xfrd.initd | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/net-libs/xrootd/files/frm_xfrd.initd b/net-libs/xrootd/files/frm_xfrd.initd index 580042248256..846c1820248f 100644 --- a/net-libs/xrootd/files/frm_xfrd.initd +++ b/net-libs/xrootd/files/frm_xfrd.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_xfrd.initd,v 1.1 2011/12/19 19:36:35 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/xrootd/files/frm_xfrd.initd,v 1.2 2012/12/05 18:19:15 bicatali Exp $ source /etc/conf.d/xrootd @@ -11,6 +11,11 @@ depend() { provide root-file-server } +start_pre() { + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/spool + checkpath -q -d -m 0755 -o xrootd:xrootd /var/run/xrootd +} + start() { ebegin "Starting File Residency Manager transfer daemon" start-stop-daemon --start --quiet --user ${XROOTD_USER} \ |