# Add some basic features for services.

diff -Naur glusterfs-11.0.orig/extras/systemd/glusterfssharedstorage.service.in glusterfs-11.0/extras/systemd/glusterfssharedstorage.service.in
--- glusterfs-11.0.orig/extras/systemd/glusterfssharedstorage.service.in	2023-02-03 06:48:10.637926965 +0100
+++ glusterfs-11.0/extras/systemd/glusterfssharedstorage.service.in	2023-07-15 11:49:35.966372568 +0200
@@ -1,5 +1,6 @@
 [Unit]
 Description=Mount glusterfs sharedstorage
+Documentation=man:glusterd(8)
 Requires=glusterd.service remote-fs-pre.target local-fs.target
 
 [Service]
@@ -8,6 +9,7 @@
 Restart=on-failure
 RestartSec=3
 RestartForceExitStatus=1
+LimitNOFILE=65536
 
 [Install]
 WantedBy=multi-user.target
diff -Naur glusterfs-11.0.orig/extras/systemd/gluster-ta-volume.service.in glusterfs-11.0/extras/systemd/gluster-ta-volume.service.in
--- glusterfs-11.0.orig/extras/systemd/gluster-ta-volume.service.in	2023-02-03 06:48:10.637926965 +0100
+++ glusterfs-11.0/extras/systemd/gluster-ta-volume.service.in	2023-07-15 11:48:56.354534221 +0200
@@ -1,5 +1,6 @@
 [Unit]
 Description=GlusterFS, Thin-arbiter process to maintain quorum for replica volume
+Documentation=man:glusterd(8)
 After=network.target
 
 [Service]
@@ -8,6 +9,7 @@
 Restart=always
 KillMode=process
 SuccessExitStatus=15
+LimitNOFILE=65536
 
 [Install]
 WantedBy=multi-user.target
