diff options
author | Michael Adam <obnox@samba.org> | 2015-12-11 00:37:13 +0100 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2015-12-18 21:04:53 -0800 |
commit | 66078a41a96fa3d00d226e3aaf7ec17c2deda953 (patch) | |
tree | af1b7ac2c56126a04a79eaa8db9cf7348a701bd8 /contrib/argp-standalone/autogen.sh | |
parent | f4357fdaca9175438f1168fcd07dd963eae4c4e2 (diff) |
hook-scripts: fix S30Samba scripts on systemd systems
/etc/init.d/smb does not exist on systemd systems.
Using "service smb <COMMAND>" is the portable way.
It calls init scripts on sysv systems, and redirects
to systemctl on systemd systems.
> Change-Id: I7146c9998a51d8b170d3321f3477e92704ae7615
> BUG: 1290604
> Signed-off-by: Michael Adam <obnox@samba.org>
> Reviewed-on: http://review.gluster.org/12945
> Tested-by: Gluster Build System <jenkins@build.gluster.com>
> Reviewed-by: Anoop C S <anoopcs@redhat.com>
> Tested-by: NetBSD Build System <jenkins@build.gluster.org>
> Reviewed-by: Niels de Vos <ndevos@redhat.com>
(cherry picked from commit ce3ff7e328483dffdae6ae2914924bc2380db67e)
Change-Id: Ied6b5fe330f8d29df10a9aea1809be5c5f0c8a5e
BUG: 1292755
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-on: http://review.gluster.org/13000
Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'contrib/argp-standalone/autogen.sh')
0 files changed, 0 insertions, 0 deletions