summaryrefslogtreecommitdiff
path: root/pcr/torque/torque-scheduler.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/torque/torque-scheduler.service')
-rw-r--r--pcr/torque/torque-scheduler.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/pcr/torque/torque-scheduler.service b/pcr/torque/torque-scheduler.service
new file mode 100644
index 000000000..97ec6a093
--- /dev/null
+++ b/pcr/torque/torque-scheduler.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=TORQUE scheduler
+Wants=torque-server.service
+After=torque-server.service
+
+[Service]
+Type=forking
+PIDFile=/var/spool/torque/sched_priv/sched.lock
+ExecStart=/usr/sbin/pbs_sched
+
+[Install]
+WantedBy=multi-user.target