File: drbdlinks.conf

package info (click to toggle)
drbdlinks 1.07-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 112 kB
  • ctags: 53
  • sloc: python: 254; sh: 62; makefile: 41
file content (36 lines) | stat: -rw-r--r-- 1,632 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
#
#  Sample configuration file for drbdlinks

#  If passed an option of 1, SELinux features will be used.  If 0, they
#  will not.  The default is to auto-detect if SELinux is enabled.  If
#  enabled, created links will be added to the SELinux context using
#  chcon -h -u <USER> -r <ROLE> -t <TYPE>, where the values plugged
#  in this command are pulled from the original file.
#selinux(1)

#  If passed an option of 1, syslog will be restarted if any links are
#  changed.  If 0, syslog is not restarted after links are changed.
#restartsyslog(1)

#  If passed an option of 1, "mount -o bind" is used instead of symbolic
#  links.  If 0, symbolic links are used.  This only applies to link()
#  calls made after this call, and until usebindmount() is called with a
#  different value.  In other words, usebindmount can be called with 1 and
#  then several link()s created that use bind mounts, then with 0 and other
#  link()s which will be symlinks.
#usebindmount(1)

#  One mountpoint must be listed.  This is the location where the DRBD
#  drive is mounted.
#mountpoint('/shared')

#  Multiple "link" lines may be listed, one for each link that needs to be
#  set up into the above shared mountpoint.  If "link()" is passed one
#  argument, it is assumed that it is linked into that name under the
#  mountpoint above.  Otherwise, you can specify a second argument which is
#  the location of the file on the shared partition.
#
#  For example, if mountpoint is "/shared" and you call "link('/etc/httpd')",
#  it is equivalent to calling "link('/etc/httpd', '/shared/etc/httpd')".
#link('/etc/httpd')
#link('/var/lib/pgsql/')