Add operation ordering to lsvcgss initscript/service unit
so it starts after systemd network services are running.
Signed-off-by: Chris Hunter <chunter@ddn.com>
Change-Id: Iad39d01aae16732ff646383814033d6efb34af5e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/55379
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Peter Jones <pjones@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
[Unit]
Description=Lustre GSS daemon
+Requires=network-online.target
+After=network-online.target openibd.service rdma.service opa.service
[Service]
Type=forking
+RemainAfterExit=yes
+StandardOutput=syslog
+PIDFile=/var/run/lsvcgss.pid
ExecStart=/usr/bin/lsvcgss_sysd
ExecReload=/bin/kill -HUP $MAINPID
-PIDFile=/var/run/lsvcgss.pid
+
+[Install]
+WantedBy=network.target