2 Description=lnet management
4 Requires=network-online.target
5 After=network-online.target
7 ConditionPathExists=!/proc/sys/lnet/
12 ExecStart=@sbindir@/modprobe lnet
13 @BUILD_DLC_FALSE@ExecStart=@sbindir@/lctl network up
14 @BUILD_DLC_FALSE@ExecStart=@sbindir@/lustre_routes_config @sysconfdir@/lnet_routes.conf
15 @BUILD_DLC_TRUE@ExecStart=@sbindir@/lnetctl lnet configure
16 @BUILD_DLC_TRUE@ExecStart=@sbindir@/lnetctl import @sysconfdir@/lnet.conf
17 ExecStop=@sbindir@/lustre_rmmod ptlrpc
18 @BUILD_DLC_FALSE@ExecStop=@sbindir@/lctl network down
19 @BUILD_DLC_TRUE@ExecStop=@sbindir@/lnetctl lnet unconfigure
20 ExecStop=@sbindir@/lustre_rmmod libcfs ldiskfs
23 WantedBy=multi-user.target