aboutsummaryrefslogtreecommitdiffstats
path: root/extra/systemd_fatcat-web.service
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-31 14:22:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-31 14:22:39 -0700
commitf0c01f9739a0c237c193dc9020273a47c19bb621 (patch)
treebf7ccabca043a036044387fdff65f930a37d62d5 /extra/systemd_fatcat-web.service
parentbf085b31ac3790ce24feb07dfed6b0e7574ed183 (diff)
downloadfatcat-f0c01f9739a0c237c193dc9020273a47c19bb621.tar.gz
fatcat-f0c01f9739a0c237c193dc9020273a47c19bb621.zip
start tracking deployment examples
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