title: slurm systemd wait nfs mount all folder
body: <p>i use slurm and i want that my deamon slurmd in systemd wait that my nfs mount.</p>
  <p>this is my slurmd.service :</p>
  <pre><code>[Unit]
  Description=Slurm node daemon
  After=network.target nfs-client.target nfs-client.service
  ConditionPathExists=/etc/slurm/slurm.conf
  
  [Service]
  Type=forking
  EnvironmentFile=-/etc/sysconfig/slurmd
  ExecStart=/usr/sbin/slurmd $SLURMD_OPTIONS
  ExecReload=/bin/kill -HUP $MAINPID
  PIDFile=/var/run/slurmd.pid
  KillMode=process
  LimitNOFILE=51200
  LimitMEMLOCK=infinity
  LimitSTACK=infinity
  
  [Install]
  WantedBy=multi-user.target
  </code></pre>
  <p>I want that my service runs when my nfs is fully assembled. My nfs is located in /nfs
  Because my network is slow and I have big nfs, I need to wait 1 minute for my nfs to be fully assembled.</p>
  <p>because I need that slurm to write files in /nfs/slurm folder
  actually, when centos start and slurmd deamon start, I have this error &quot;/nfs/slurm no such file or folder&quot;</p>
  <p>I try to use PathExist parameter but not work and TimeoutStartSec but not work, my deamon run and I have this error.</p>
  <p>Thanks in advance for your help.</p>