summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-02-16 17:28:01 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-02-16 17:28:01 +0100
commit5bc5f638680a9faae2f1bc3309b0b0f998e6884d (patch)
treec1f3fa226647af04bb874410123cca159bde8a3b /examples
parente297bd94136bacbdde8d55f24972d4a37302cbea (diff)
Add README
Diffstat (limited to 'examples')
-rw-r--r--examples/travelynx.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/travelynx.service b/examples/travelynx.service
new file mode 100644
index 0000000..1935ee2
--- /dev/null
+++ b/examples/travelynx.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=travelynx.finalrewind.org
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/srv/www/travelynx/index.pl daemon -m production -l 'http://127.0.0.1:8093'
+User=db-fakedisplay
+WorkingDirectory=/srv/www/travelynx
+Environment=LANG=en_US.UTF-8
+Environment=TRAVELYNX_IRIS_CACHE=/var/cache/dbf/iris
+Environment=TRAVELYNX_IRISRT_CACHE=/var/cache/dbf/iris-rt
+Environment=TRAVELYNX_DB_FILE=/srv/www/travelynx/run/travelynx.sqlite
+
+[Install]
+WantedBy=multi-user.target