summarylogtreecommitdiffstats
path: root/slurmd.service
diff options
context:
space:
mode:
authorGordian Edenhofer2015-05-23 14:10:36 +0200
committerGordian Edenhofer2015-05-23 14:10:36 +0200
commit7aa9a4e8c44d0b4daad5f3f5199896e0ee86463c (patch)
tree071d26e284511ef2fd87ed1d15bf3dc11fdbbef5 /slurmd.service
downloadaur-7aa9a4e8c44d0b4daad5f3f5199896e0ee86463c.tar.gz
initial commit
Diffstat (limited to 'slurmd.service')
-rw-r--r--slurmd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/slurmd.service b/slurmd.service
new file mode 100644
index 00000000000..645679b6f37
--- /dev/null
+++ b/slurmd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Slurm node daemon
+After=network.target systemd-tmpfiles-clean.service
+Requires=munge.service
+ConditionPathExists=/etc/slurm-llnl/slurm.conf
+
+[Service]
+Type=simple
+EnvironmentFile=/etc/default/slurm-llnl
+ExecStartPre=/usr/bin/mkdir -p /var/lib/slurm-llnl
+ExecStart=/usr/bin/slurmd -D $SLURMD_OPTIONS
+PIDFile=/var/run/slurm/slurmd.pid
+
+[Install]
+WantedBy=multi-user.target