summary refs log tree commit diff stats
path: root/etc
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 18:13:30 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-11 18:14:07 -0400
commit6dad1372a4680f2314a057b831f8cb2ef44dcf1b (patch)
treed95c10c760045c27714bc0b387f06ca8d2771eae /etc
parentd4af885c40ba55ea0ed9adade98afe0658099c47 (diff)
downloadgetwtxt-6dad1372a4680f2314a057b831f8cb2ef44dcf1b.tar.gz
check if behind reverse proxy
Diffstat (limited to 'etc')
-rw-r--r--etc/getwtxt-proxied.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/getwtxt-proxied.service b/etc/getwtxt-proxied.service
new file mode 100644
index 0000000..07ea8cb
--- /dev/null
+++ b/etc/getwtxt-proxied.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=getwtxt
+
+[Service]
+Type=simple
+ExecStart=/usr/local/getwtxt/getwtxt \
+          --assets /usr/local/getwtxt/assets \
+          --config /usr/local/getwtxt/getwtxt.yml \
+          --db /usr/local/getwtxt/getwtxt.db \
+          --dbtype leveldb \
+          --proxied
+Restart=always
+
+[Install]
+WantedBy=multi-user.target