summaryrefslogtreecommitdiffstats
path: root/extras/hook-scripts/start/post
Commit message (Collapse)AuthorAgeFilesLines
* hooks: Modified samba hook scripts to handle user.cifsKrishnan Parthasarathi2012-12-121-4/+20
| | | | | | | | | Change-Id: I079636e2be4bc097df33355b6a60c0e04d69ef57 BUG: 877992 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/1856 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
* extras: hook scripts should not start Samba if it is not runningNiels de Vos2012-10-101-1/+1
| | | | | | | | | | | | | | | | | | | If the smb service was turned off by the administrator, the hook scripts should not start the service on starting/stopping a volume. By calling the service script with "condrestart" instead of plain "start", the service script checks if samba actually was running. Change-Id: I6ad8519ff1f344450e569f9de7adc1e61da2c498 BUG: 863907 Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/4015 Reviewed-by: Amar Tumballi <amarts@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/59 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
* hooks: Added fstab entry for samba shareKrishnan Parthasarathi2012-06-132-3/+16
| | | | | | | | | | | - Add fstab entry for samba shares exported via hooks only on successfully mounting - Remove fstab entry for samba export in samba-stop script - Fixed an unintentional use of 'function-local' variable in shell script which relies on bash's variable scope internals. Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Signed-off-by: Vijay Bellur <vijay@gluster.com>
* build: Add stop/pre to configure.acVijay Bellur2012-06-121-1/+1
|
* hooks: Changes for samba start and stopVijay Bellur2012-06-122-76/+3
|
* hooks: Changes for ctdb start and stopVijay Bellur2012-06-121-17/+25
|
* extras: Restructuring hook-scripts directoryKrishnan Parthasarathi2012-06-124-0/+192
- Fixed permissions of samba-start and samba-stop scripts - Fixed string comparison in sighup_samba function Change-Id: I5529cf2f4d7c08ac8fafcf64652be856345c9476 BUG: 806996 Signed-off-by: Krishnan Parthasarathi <kp@gluster.com> Signed-off-by: Vijay Bellur <vijay@gluster.com>