goaccess/templates/goaccess.service.j2
author Luke Hoersten <luke@hoersten.org>
Sun, 09 Aug 2020 14:20:24 -0500
changeset 131 746d5fdbbc18
child 132 10996eb41bf4
permissions -rw-r--r--
Added periodit goaccess update role
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
131
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
Description=GoAccess
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
[Service]
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
Type=oneshot
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
ExecStart=/usr/bin/goaccess {{goaccess_http_log}} -o {{goaccess_output_dest}} --log-format=COMBINED --no-progress --no-parsing-spinner
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
RemainAfterExit=true
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
Environment=HOME=/var/run
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
[Install]
746d5fdbbc18 Added periodit goaccess update role
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
WantedBy=multi-user.target