Skip to content
Snippets Groups Projects
Commit 08cdd3aa authored by Andreas Hamacher's avatar Andreas Hamacher Committed by Chris Hines
Browse files

changing slurmdbd pid directory

parent 4eaa5c67
No related branches found
No related tags found
Loading
......@@ -35,6 +35,10 @@
sudo: true
when: slurmpiddir is defined and not pidstat.stat.exists
- name: create slurmdbdpiddir directory
file: path={{ slurmdbdpiddir }} state=directory owner=slurm group=slurm mode=755
sudo: true
- name: create shared state directory
file: path={{slurmsharedstatedir }} state=directory owner=slurm group=slurm mode=750
sudo: true
......
......@@ -7,7 +7,7 @@ ConditionPathExists={{ slurm_dir }}/etc/slurmdbd.conf
[Service]
Type=forking
ExecStart={{ slurm_dir }}/sbin/slurmdbd
PIDFile={{ slurmpiddir }}/slurmdbd.pid
PIDFile={{ slurmdbdpiddir }}/slurmdbd.pid
[Install]
WantedBy=multi-user.target
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment