matomo/matomo-archive.service
Eric Schirra f490eea24a Accepting request 855711 from home:ecsos:server
- Put apache configuration files in separate subpackages.
- Update cron, service, lograte files with apache macros.

OBS-URL: https://build.opensuse.org/request/show/855711
OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=87
2020-12-14 10:42:45 +00:00

11 lines
388 B
Desktop File

[Unit]
Description=Auto-Archiving of matomo Reports
[Service]
Type=oneshot
User=@APACHE_USER@
Group=@APACHE_GROUP@
ExecStart=/bin/bash -ce "/usr/bin/php @APACHE_SERVERROOT@/matomo/console core:archive --url=http://localhost/matomo/ >> /var/log/matomo/matomo-archive.log 2>&1"
#StandardOutput=file:/var/log/matomo/matomo-archive.log
#StandardError=file:/var/log/matomo/matomo-archive.log