File: 04-systemd-extra-services.diff

package info (click to toggle)
glusterfs 11.1-6
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 45,156 kB
  • sloc: ansic: 467,237; sh: 51,851; python: 12,989; makefile: 1,962; yacc: 487; lisp: 124; lex: 61; xml: 14
file content (38 lines) | stat: -rw-r--r-- 1,351 bytes parent folder | download | duplicates (2)
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