summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2020-12-29 11:30:58 +0100
committerMatthias Beyer <mail@beyermatthias.de>2020-12-29 11:30:58 +0100
commitc822f977414c723427105b5e4b2e72c76a170f92 (patch)
tree7e2286b72e314b4423d3f08bfb251408d5abe232
parentc754ef892c49134efc5ea65a75dc8284bab5ff85 (diff)
Add lotide.service example filesystemd
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--etc/hitide.service21
1 files changed, 21 insertions, 0 deletions
diff --git a/etc/hitide.service b/etc/hitide.service
new file mode 100644
index 0000000..a8167f8
--- /dev/null
+++ b/etc/hitide.service
@@ -0,0 +1,21 @@
+#
+#
+# This is an example systemd service definition file.
+# Users are expected to write their own version of this based on this.
+#
+#
+
+[Unit]
+After=network.target
+Description=hitide service
+
+[Service]
+Environment="BACKEND_HOST=http://localhost:3333"
+Environment="PORT=4333"
+
+User=hitide
+Group=hitide
+Restart=on-failure
+
+ExecStart=hitide
+