summarylogtreecommitdiffstats
path: root/slurmdbd.service
diff options
context:
space:
mode:
authorGordian Edenhofer2016-10-03 21:57:33 +0200
committerGordian Edenhofer2016-10-03 22:10:08 +0200
commit15d077667179781c8d7884df25d19b1a9bde8f3a (patch)
tree11685007fe7da9cd59681bc51fc880ce0506c019 /slurmdbd.service
parenta33031becf0704c8e3898f52dc4faf915a406429 (diff)
downloadaur-15d077667179781c8d7884df25d19b1a9bde8f3a.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 'slurmdbd.service')
-rw-r--r--slurmdbd.service9
1 files changed, 5 insertions, 4 deletions
diff --git a/slurmdbd.service b/slurmdbd.service
index 262db447468b..5ac617854f62 100644
--- a/slurmdbd.service
+++ b/slurmdbd.service
@@ -4,10 +4,11 @@ After=network.target mysqld.service
ConditionPathExists=/etc/slurm-llnl/slurmdbd.conf
[Service]
-Type=simple
-EnvironmentFile=/etc/default/slurm-llnl
-ExecStart=/usr/bin/slurmdbd -D $SLURMDBD_OPTIONS
-PIDFile=/var/run/slurm/slurmdbd.pid
+Type=forking
+EnvironmentFile=-/etc/default/slurm-llnl
+ExecStart=/usr/bin/slurmdbd $SLURMDBD_OPTIONS
+ExecReload=/bin/kill -HUP $MAINPID
+PIDFile=/run/slurm-llnl/slurmdbd.pid
[Install]
WantedBy=multi-user.target