blob: d042ff1eea6e06654d3966b640fba65deccf6cc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=Userspace NFSv3 Server
Requires=rpcbind.service
After=rpcbind.service
[Service]
Type=forking
EnvironmentFile=/etc/conf.d/unfsd.conf
PIDFile=/run/unfsd.pid
ExecStart=/usr/sbin/unfsd -i /run/unfsd.pid $PORT_UNPRIVILEGED -n $PORT_NFS -m $PORT_MOUNT $TCP_ONLY $NO_PORTMAPPER $NO_WRITE_CACHE $CLUSTER_EXTENSION $CLUSTER_PATH $SINGLE_USER $BRUTE_FORCE $INTERFACE $DEBUG
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target
|