From 6dad1372a4680f2314a057b831f8cb2ef44dcf1b Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Tue, 11 Jun 2019 18:13:30 -0400 Subject: check if behind reverse proxy --- etc/getwtxt-proxied.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/getwtxt-proxied.service (limited to 'etc/getwtxt-proxied.service') 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 -- cgit 1.4.1-2-gfad0