aboutsummaryrefslogtreecommitdiffstats
path: root/extra/systemd_fatcat-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'extra/systemd_fatcat-web.service')
-rw-r--r--extra/systemd_fatcat-web.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/systemd_fatcat-web.service b/extra/systemd_fatcat-web.service
new file mode 100644
index 00000000..ad8b2bec
--- /dev/null
+++ b/extra/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