diff options
Diffstat (limited to 'media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d')
-rwxr-xr-x | media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d b/media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d index 46f7ac47170e..477a074b5502 100755 --- a/media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d +++ b/media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d,v 1.1 2012/04/12 05:56:03 lavajoe Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/logitechmediaserver-bin/files/logitechmediaserver.init.d,v 1.2 2012/04/28 23:47:34 lavajoe Exp $ # These fit the Logitech Media Server ebuild and so shouldn't need to be # changed; user-servicable parts go in /etc/conf.d/logitechmediaserver. @@ -20,6 +20,10 @@ depend() { need net } +start_pre() { + checkpath -q -d -o ${lmsuser}:${lmsuser} -m 0770 "${rundir}" +} + start() { ebegin "Starting Logitech Media Server" |