1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
# 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
|