summarylogtreecommitdiffstats
path: root/slurmd.service
diff options
context:
space:
mode:
authorGordian Edenhofer2016-10-03 21:57:33 +0200
committerGordian Edenhofer2016-10-03 22:10:08 +0200
commitfd397bf3a9c73103df9ac25d7b8bf6c4541f33ff (patch)
treee063e43aff3deaf040e6ab171428cc84202ce985 /slurmd.service
parentf6ff54893fa856536f171978e6e6775dce2d6cbf (diff)
downloadaur-fd397bf3a9c73103df9ac25d7b8bf6c4541f33ff.tar.gz
upgpkg: slurm-llnl 16.05.5-1
Streamline systemd service files with upstream templates. upgpkg: slurm-llnl-dev 17.02.0_0pre2-1 upgpkg: slurm-llnl-git 17.02.0.0pre2.r9.ga9934d4-1
Diffstat (limited to 'slurmd.service')
-rw-r--r--slurmd.service13
1 files changed, 9 insertions, 4 deletions
diff --git a/slurmd.service b/slurmd.service
index 382935c2ea3..35629cf3bda 100644
--- a/slurmd.service
+++ b/slurmd.service
@@ -5,10 +5,15 @@ Requires=munge.service
ConditionPathExists=/etc/slurm-llnl/slurm.conf
[Service]
-Type=simple
-EnvironmentFile=/etc/default/slurm-llnl
-ExecStart=/usr/bin/slurmd -D $SLURMD_OPTIONS
-PIDFile=/var/run/slurm/slurmd.pid
+Type=forking
+EnvironmentFile=-/etc/default/slurm-llnl
+ExecStart=/usr/bin/slurmd $SLURMD_OPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+PIDFile=/run/slurm-llnl/slurmd.pid
+KillMode=process
+LimitNOFILE=51200
+LimitMEMLOCK=infinity
+LimitSTACK=infinity
[Install]
WantedBy=multi-user.target