[net-fs/nfs-ganesha] add. i don't use nfs anymore but i'll eventually clean it up

This commit is contained in:
2020-09-16 01:02:12 +02:00
parent 0ffb6b924c
commit b0c188cea5
5 changed files with 180 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# Log file
# LOG_FILE=/var/log/ganesha.log
# Config file
# CONFIG_FILE=/etc/ganesha/ganesha.conf
# Log level
# Defaults to event
# LOG_LEVEL=NIV_EVENT

View File

@@ -0,0 +1,18 @@
#!/sbin/openrc-run
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
: ${LOG_FILE:=/var/log/ganesha.log}
: ${CONFIG_FILE:=/etc/ganesha/ganesha.conf}
: ${LOG_LEVEL:=NIV_EVENT}
command=/usr/bin/ganesha.nfsd
command_args="-L ${LOG_FILE} -f ${CONFIG_FILE} -N ${LOG_LEVEL} -p /run/ganesha.pid"
pidfile="/run/ganesha.pid"
name="Ganesha NFS server"
description="NFS-Ganesha is an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems"
start_pre(){
checkpath --directory /run/ganesha
}