summaryrefslogtreecommitdiff
path: root/~coadde/torque/torque-node.service
diff options
context:
space:
mode:
Diffstat (limited to '~coadde/torque/torque-node.service')
-rw-r--r--~coadde/torque/torque-node.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/~coadde/torque/torque-node.service b/~coadde/torque/torque-node.service
new file mode 100644
index 000000000..f8fcb46a2
--- /dev/null
+++ b/~coadde/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/bin/pbs_mom
+
+[Install]
+WantedBy=multi-user.target