From f0c01f9739a0c237c193dc9020273a47c19bb621 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 31 May 2018 14:22:39 -0700 Subject: start tracking deployment examples --- extra/systemd_fatcat-web.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 extra/systemd_fatcat-web.service (limited to 'extra/systemd_fatcat-web.service') 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 -- cgit v1.2.3