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