summaryrefslogtreecommitdiffstats
path: root/scripts/lvm2_lvmetad_init_red_hat.in
Commit message (Collapse)AuthorAgeFilesLines
* configure: run directory configuration cleanupPeter Rajnoha2012-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several hard-coded values for run directory around the code. Also, some tools are DM specific only, others are LVM specific and there was no distinction made here before. With this patch applied, we have this cleaned up a bit (subsystem in brackets, defaults in parentheses): [common] configurable PID_DIR (/var/run) lvm [lvm] configurable RUN_DIR (/var/run/lvm) configurable locking dir (/var/lock/lvm) clvmd [lvm] configurable pid file (PID_DIR/clvmd.pid) socket (RUN_DIR/clvmd.sock) lvmetad [lvm] configurable pid file (PID_DIR/lvmetad.pid) socket (RUN_DIR/lvmetad.socket) dm [dm] configurable DM_RUN_DIR (/var/run) cmirrord [dm] configurable pid file (PID_DIR/cmirrord.pid) dmeventd [dm] configurable pid file (PID_DIR/dmeventd.pid) server fifo (DM_RUN_DIR/dmeventd-server) client fifo (DM_RUN_DIR/dmeventd-client) The changes briefly: - added configure --with-default-pid-dir - added configure --with-default-dm-run-dir - added configure --with-lvmetad-pidfile - by default, using one common pid directory for everything (only lvmetad was not following this before)
* Use pvscan --cache instead of vgscan in lvmetad init script and systemd unit.Peter Rajnoha2012-03-161-2/+2
|
* Use 'killproc' fn in lvmetad init script (fn provided by 'functions' init ↵Peter Rajnoha2012-02-271-1/+1
| | | | script library).
* Use '-p PID_FILE' for the status call since the pidfile is in its own lvm ↵Peter Rajnoha2012-02-241-3/+5
| | | | subdir and return proper status code.
* The daemon as well as the first scan must be both executed properly, ↵Peter Rajnoha2012-02-241-1/+1
| | | | otherwise it's an error!
* Add LVMetaD init script.Peter Rajnoha2012-02-241-0/+113