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