goaccess/templates/goaccess.service.j2
changeset 131 746d5fdbbc18
child 132 10996eb41bf4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/goaccess/templates/goaccess.service.j2	Sun Aug 09 14:20:24 2020 -0500
@@ -0,0 +1,11 @@
+[Unit]
+Description=GoAccess
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/goaccess {{goaccess_http_log}} -o {{goaccess_output_dest}} --log-format=COMBINED --no-progress --no-parsing-spinner
+RemainAfterExit=true
+Environment=HOME=/var/run
+
+[Install]
+WantedBy=multi-user.target