Niels de Vos 22fdadad06 extras: hook scripts should not start Samba if it is not running
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: I93408050a65445d98d2f9bb61992e216e04e0b04
BUG: 861506
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>
2012-10-02 01:18:13 -07:00
..
2012-09-13 13:19:37 -07:00
2010-09-07 07:45:58 -07:00
2012-09-13 13:19:37 -07:00
2011-08-10 10:57:19 -07:00
2010-10-11 07:31:12 -07:00
2012-09-13 13:19:37 -07:00
2012-09-13 13:19:37 -07:00
2011-08-10 10:57:19 -07:00