summarylogtreecommitdiffstats
path: root/mathoid.service
diff options
context:
space:
mode:
authorFelix Esch2015-06-26 00:20:14 +0200
committerFelix Esch2015-06-26 00:34:36 +0200
commit5b80c642f73cb1d935c09c13fcb7dd3c2bf5c89e (patch)
tree897a234bcd60c3ae8531927899de73cfab676ca9 /mathoid.service
downloadaur-5b80c642f73cb1d935c09c13fcb7dd3c2bf5c89e.tar.gz
Initial commit with service file.
Diffstat (limited to 'mathoid.service')
-rw-r--r--mathoid.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/mathoid.service b/mathoid.service
new file mode 100644
index 000000000000..f75927c3a7da
--- /dev/null
+++ b/mathoid.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Mathoid Server
+After=network.target
+
+[Service]
+User=nobody
+Type=Simple
+ExecStart=/usr/bin/node /usr/share/webapps/mediawiki/services/mathoid/server.js
+PrivateTmp=true
+
+[Install]
+WantedBy=multi-user.target