From f689e65a72ae9693c0a17987c8e32d724bb9fb6c Mon Sep 17 00:00:00 2001 From: Luke Hoersten Date: Sun, 9 Aug 2020 14:20:24 -0500 Subject: Added periodit goaccess update role --- goaccess/templates/goaccess.service.j2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 goaccess/templates/goaccess.service.j2 (limited to 'goaccess/templates/goaccess.service.j2') diff --git a/goaccess/templates/goaccess.service.j2 b/goaccess/templates/goaccess.service.j2 new file mode 100644 index 0000000..aa1e929 --- /dev/null +++ b/goaccess/templates/goaccess.service.j2 @@ -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 -- cgit v1.2.3