[net-fs/nfs-ganesha] add. i don't use nfs anymore but i'll eventually clean it up
This commit is contained in:
9
net-fs/nfs-ganesha/files/nfs-ganesha.confd
Normal file
9
net-fs/nfs-ganesha/files/nfs-ganesha.confd
Normal 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
|
||||
18
net-fs/nfs-ganesha/files/nfs-ganesha.init
Normal file
18
net-fs/nfs-ganesha/files/nfs-ganesha.init
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user