summarylogtreecommitdiffstats
path: root/zincer.service
diff options
context:
space:
mode:
authorAndrei Pozolotin2016-06-13 13:23:25 +0000
committerAndrei Pozolotin2016-06-13 13:23:25 +0000
commite464d0524414fa98c5d359f8a602f1c2db98e726 (patch)
treea52ced8d4a4ba13ea3fc8f715c94b4931c460c2a /zincer.service
downloadaur-e464d0524414fa98c5d359f8a602f1c2db98e726.tar.gz
initial commit
Diffstat (limited to 'zincer.service')
-rw-r--r--zincer.service24
1 files changed, 24 insertions, 0 deletions
diff --git a/zincer.service b/zincer.service
new file mode 100644
index 000000000000..6a58782a925b
--- /dev/null
+++ b/zincer.service
@@ -0,0 +1,24 @@
+
+[Unit]
+Description=Zinc Server
+Documentation=https://github.com/typesafehub/zinc
+
+[Service]
+#
+Environment=ZINC_HOME=/opt/zinc
+Environment=ZINC_PORT=3030
+Environment=ZINC_TIMEOUT=0
+#
+Environment=JAVA_EXEC=java
+Environment=JAVA_META=512m
+Environment=JAVA_HEAP=1024m
+Environment=JAVA_CODE=256m
+Environment=JAVA_STACK=1m
+#
+ExecStart=/bin/bash ${ZINC_HOME}/zincer.sh
+#
+Restart=on-failure
+RestartSec=1s
+
+[Install]
+WantedBy=multi-user.target