Whamcloud - gitweb
LU-8384 scripts: Add scripts to systemd for EL7
[fs/lustre-release.git] / lustre / scripts / systemd / lustre.service.in
1 [Unit]
2 Description=Lustre shutdown
3 After=network.target network-online.target lnet.service
4 DefaultDependencies=false
5 Conflicts=umount.target
6
7 [Service]
8 Type=oneshot
9 RemainAfterExit=true
10 ExecStart=/bin/true
11 ExecStop=@bindir@/umount -a -t lustre
12 ExecStop=@sbindir@/lustre_rmmod
13
14 [Install]
15 WantedBy=sysinit.target
16 WantedBy=final.target