Whamcloud - gitweb
LU-12298 init: Add init info to lustre sysvinit script 73/34873/2
authorNathaniel Clark <nclark@whamcloud.com>
Wed, 15 May 2019 18:16:40 +0000 (14:16 -0400)
committerOleg Drokin <green@whamcloud.com>
Thu, 16 May 2019 22:42:33 +0000 (22:42 +0000)
This adds info to sysvinit script that systemd can use
to build dependency graphs.

Signed-off-by: Nathaniel Clark <nclark@whamcloud.com>
Change-Id: Ied3bc05d61ba9dc33904a84c5f91bb9adc60cb01
Reviewed-on: https://review.whamcloud.com/34873
Tested-by: Jenkins
Reviewed-by: Gu Zheng <gzheng@ddn.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/lustre

index 5fb6806..a615b74 100644 (file)
@@ -7,6 +7,13 @@
 # description:  Part of the lustre file system.
 # probe: true
 # config: /etc/sysconfig/lustre
 # description:  Part of the lustre file system.
 # probe: true
 # config: /etc/sysconfig/lustre
+### BEGIN INIT INFO
+# Provides: lustre
+# Required-Start: lnet
+# Defalt-Start: -
+# Default-Stop: 0 1 6
+# Description: Lustre init script
+### END INIT INFO
 
 PATH=/sbin:/usr/sbin:/bin:/usr/bin
 
 
 PATH=/sbin:/usr/sbin:/bin:/usr/bin