diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-06-11 18:13:30 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-06-11 18:14:07 -0400 |
commit | 6dad1372a4680f2314a057b831f8cb2ef44dcf1b (patch) | |
tree | d95c10c760045c27714bc0b387f06ca8d2771eae /Makefile | |
parent | d4af885c40ba55ea0ed9adade98afe0658099c47 (diff) | |
download | getwtxt-6dad1372a4680f2314a057b831f8cb2ef44dcf1b.tar.gz |
check if behind reverse proxy
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile index 2151717..eea8cdd 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,18 @@ install: install -m644 assets/tmpl/index.html $(BINDIR)/assets/tmpl install -m644 README.md $(BINDIR)/docs install -m644 LICENSE $(BINDIR)/docs + install -m644 etc/getwtxt-proxied.service /etc/systemd/system + chown -R getwtxt:getwtxt $(BINDIR) + +install-unproxied: + adduser -home $(BINDIR) --system --group getwtxt + mkdir -p $(BINDIR)/assets/tmpl $(BINDIR)/docs + install -m755 getwtxt $(BINDIR) + install -m644 getwtxt.yml $(BINDIR) + install -m644 assets/style.css $(BINDIR)/assets + install -m644 assets/tmpl/index.html $(BINDIR)/assets/tmpl + install -m644 README.md $(BINDIR)/docs + install -m644 LICENSE $(BINDIR)/docs install -m644 etc/getwtxt.service /etc/systemd/system chown -R getwtxt:getwtxt $(BINDIR) |