Eric Schirra
f490eea24a
- 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
11 lines
388 B
Desktop File
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
|