diff options
author | Sam James <sam@gentoo.org> | 2021-03-13 09:39:55 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-13 09:42:46 +0000 |
commit | 44a0380c0bbc890785601f8824cd969d2d9de402 (patch) | |
tree | f6cc514a696610a477221cb3c70854c5caf5c91a /app-admin/sagan/files | |
parent | sci-libs/symengine: add 0.7.0 (diff) | |
download | gentoo-44a0380c0bbc890785601f8824cd969d2d9de402.tar.gz gentoo-44a0380c0bbc890785601f8824cd969d2d9de402.tar.bz2 gentoo-44a0380c0bbc890785601f8824cd969d2d9de402.zip |
app-admin/sagan: install tmpfiles, logrotate
Closes: https://bugs.gentoo.org/775707
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/sagan/files')
-rw-r--r-- | app-admin/sagan/files/sagan.logrotate | 13 | ||||
-rw-r--r-- | app-admin/sagan/files/sagan.tmpfiles | 1 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/sagan/files/sagan.logrotate b/app-admin/sagan/files/sagan.logrotate new file mode 100644 index 000000000000..2db6afd0ee0e --- /dev/null +++ b/app-admin/sagan/files/sagan.logrotate @@ -0,0 +1,13 @@ +/var/log/sagan/alert +/var/log/sagan/sagan.log +/var/log/sagan/sagan.stats +{ + compress + delaycompress + missingok + notifempty + sharedscripts + postrotate + /sbin/service sagan reload 2>/dev/null || true + endscript +} diff --git a/app-admin/sagan/files/sagan.tmpfiles b/app-admin/sagan/files/sagan.tmpfiles new file mode 100644 index 000000000000..e6ab42e8ca13 --- /dev/null +++ b/app-admin/sagan/files/sagan.tmpfiles @@ -0,0 +1 @@ +d /run/sagan 0750 sagan sagan - |