aboutsummaryrefslogtreecommitdiffstats
path: root/extra/deployment/systemd_fatcat-web.service
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-29 15:02:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-29 15:02:27 -0800
commit7c6afa0a21883dc8037f3d021246db24eef39b41 (patch)
tree3fa7c1e595248a46e88ea62c2f9f70106186b0fe /extra/deployment/systemd_fatcat-web.service
parentc32154f2875a7fb9aac727013e1475cdd811e180 (diff)
downloadfatcat-7c6afa0a21883dc8037f3d021246db24eef39b41.tar.gz
fatcat-7c6afa0a21883dc8037f3d021246db24eef39b41.zip
clean up extra/ folder a bit
Diffstat (limited to 'extra/deployment/systemd_fatcat-web.service')
-rw-r--r--extra/deployment/systemd_fatcat-web.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/deployment/systemd_fatcat-web.service b/extra/deployment/systemd_fatcat-web.service
new file mode 100644
index 00000000..ad8b2bec
--- /dev/null
+++ b/extra/deployment/systemd_fatcat-web.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=fatcat web interface
+# TODO: would add syslog.target here if we used it
+After=network.target
+
+[Service]
+WorkingDirectory=/srv/fatcat/src/python
+SyslogIdentifier=fatcat-web
+#Environment="TMPDIR=/run/grobid/tmp/"
+# XXX: insert uwsgi_fatcat-web.sh here
+ExecStart=
+User=fatcat
+Type=simple
+
+[Install]
+WantedBy=multi-user.target